[PATCH] Disallow using function parameters in extended asm inputs or outputs in naked functions (PR21178)
David Majnemer
david.majnemer at gmail.com
Mon Oct 6 20:16:40 PDT 2014
================
Comment at: lib/Sema/SemaStmtAsm.cpp:91-94
@@ +90,6 @@
+
+ for (Stmt *Child : E->children())
+ if (Expr *E = dyn_cast_or_null<Expr>(Child))
+ if (CheckNakedParmReference(E, S))
+ return true;
+
----------------
Is it worth doing the recursion if we aren't inside a naked function?
http://reviews.llvm.org/D5640
More information about the cfe-commits
mailing list