sem_attr.adb (Analyze_Attribute): Factor out heavily indented code in Denote_Same_Function.
2015-03-02 Hristian Kirtchev <kirtchev@adacore.com> * sem_attr.adb (Analyze_Attribute): Factor out heavily indented code in Denote_Same_Function. Do not analyze attribute 'Result when it is inside procedure _Postconditions. Remove a misplaced warning diagnostic. Code cleanup. (Denote_Same_Function): New routine. * sem_prag.adb (Analyze_Contract_Cases_In_Decl_Part): Code cleanup. Warn on pre/postconditions on an inlined subprogram. (Analyze_Pragma, Refined_Post case): Warn on pre/postconditions on an inlined subprogram. (Analyze_Pre_Post_Condition_In_Decl_Part): Code cleanup. Warn on pre/post condition on an inlined subprogram. (Analyze_Test_Case_In_Decl_Part): Code cleanup. Warn on pre/postconditions on an inlined subprogram. (Check_Postcondition_Use_In_Inlined_Subprogram): New routine. From-SVN: r221112
Showing
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment