[PATCH] D12922: Add support for function attribute "notail"

Akira Hatanaka via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 2 12:32:49 PST 2015


ahatanak 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}}
----------------
I didn't understand what kind of test case is required for not_tail_called on passed arguments. Could you give me an example? 


http://reviews.llvm.org/D12922





More information about the cfe-commits mailing list