+2018-05-30 Piotr Trojanek <trojanek@adacore.com>
+
+ * sem_prag.adb (Analyze_Pragma): Remove conjuncts that are always true.
+
2018-05-30 Hristian Kirtchev <kirtchev@adacore.com>
* sem_util.adb (Is_Atomic_Object): Cleaned up. Split the entity logic
-- Here to start processing for recognized pragma
- Pname := Original_Aspect_Pragma_Name (N);
+ Pname := Original_Aspect_Pragma_Name (N);
-- Capture setting of Opt.Uneval_Old
elsif Is_Rewrite_Substitution (N)
and then Nkind (Original_Node (N)) = N_Pragma
- and then Original_Node (N) /= N
then
Set_Is_Ignored (N, Is_Ignored (Original_Node (N)));
Set_Is_Checked (N, Is_Checked (Original_Node (N)));
elsif Is_Rewrite_Substitution (N)
and then Nkind (Original_Node (N)) = N_Pragma
- and then Original_Node (N) /= N
then
Set_Is_Ignored (N, Is_Ignored (Original_Node (N)));
Set_Is_Checked (N, Is_Checked (Original_Node (N)));