aaron.ballman added inline comments. ================ Comment at: test/Sema/attr-notail.c:9 @@ +8,3 @@ +} + +int g0 __attribute__((not_tail_called)); // expected-warning {{'not_tail_called' attribute only applies to functions}} ---------------- ahatanak wrote: > I didn't understand what kind of test case is required for not_tail_called on > passed arguments. Could you give me an example? Sorry, I may have been unclear. I meant the attribute being passed arguments itself. e.g., ``` int f() __attribute__((not_tail_called("this should diagnose"))); ```
http://reviews.llvm.org/D12922 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits