return;
end if;
- if Present (Declarations (N))
- and then Has_Excluded_Declaration (Spec_Id, Declarations (N))
- then
+ if Has_Excluded_Declaration (Spec_Id, Declarations (N)) then
return;
end if;
-- Check excluded declarations
- elsif Present (Declarations (N))
- and then Has_Excluded_Declaration (Spec_Id, Declarations (N))
- then
+ elsif Has_Excluded_Declaration (Spec_Id, Declarations (N)) then
return;
-- Check excluded statements. There is no need to protect us against
return True;
elsif Nkind (S) = N_Block_Statement then
- if Present (Declarations (S))
- and then Has_Excluded_Declaration (Subp, Declarations (S))
- then
+ if Has_Excluded_Declaration (Subp, Declarations (S)) then
return True;
elsif Present (Handled_Statement_Sequence (S)) then
-- by the GCC backend (ie. "function might not be
-- inlinable").
- if Present (Subp_Decl)
- and then Has_Excluded_Declaration (Spec_Id, Subp_Decl)
- then
+ if Has_Excluded_Declaration (Spec_Id, Subp_Decl) then
null;
elsif Has_Excluded_Statement