[PATCH] Allow empty statements in naked functions in addition to ASM statements

Hans Wennborg hans at chromium.org
Mon Sep 8 19:57:32 PDT 2014


LGTM, thanks for fixing!

================
Comment at: test/Sema/attr-naked.c:27
@@ +26,3 @@
+
+__attribute__((naked)) void t6() {
+  ;
----------------
Maybe add a t7 that has the actual case from the PR, i.e. both an asm and null statement.

http://reviews.llvm.org/D5256






More information about the cfe-commits mailing list