[PATCH] Adding option -fno-inline-asm to disallow inline asm
Steven Wu
stevenwu at apple.com
Thu Jan 15 16:27:53 PST 2015
- Another attempt to implement -fno-inline-asm according to the feedback. Now implemented a new flag -fno-gnu-inline-asm which return error when parsing GNU-style inline assembly. -fno-inline-asm will just implies both -fno-gnu-inline-asm and -fno-asm-blocks
http://reviews.llvm.org/D6870
Files:
include/clang/Basic/DiagnosticParseKinds.td
include/clang/Basic/LangOptions.def
include/clang/Driver/Options.td
lib/Driver/Tools.cpp
lib/Frontend/CompilerInvocation.cpp
lib/Parse/ParseStmtAsm.cpp
test/Driver/inline-asm.c
test/Driver/ms-inline-asm.c
test/Parser/ms-inline-asm.c
test/Parser/no-gnu-inline-asm.c
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6870.18276.patch
Type: text/x-patch
Size: 7470 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150116/874254bf/attachment.bin>
More information about the cfe-commits
mailing list