[PATCH] D15195: PR4941: Add support for -fno-builtin-foo options.
Chad Rosier via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 15 07:43:23 PST 2015
mcrosier updated this revision to Diff 42854.
mcrosier added a comment.
Remove the FIXME, per Hal and Bob's request. I confirmed that gcc does not warn for invalid -fno-builtin-foo options.
Also, pass the vector by reference and insert, rather than making an unnecessary copy on the return in CompilerInvocation.
http://reviews.llvm.org/D15195
Files:
include/clang/Basic/Builtins.h
include/clang/Basic/LangOptions.h
include/clang/Driver/Options.td
include/clang/Frontend/CodeGenOptions.h
lib/Basic/Builtins.cpp
lib/Basic/LangOptions.cpp
lib/CodeGen/BackendUtil.cpp
lib/CodeGen/CGCall.cpp
lib/CodeGen/CGVTables.cpp
lib/CodeGen/CodeGenModule.cpp
lib/CodeGen/CodeGenModule.h
lib/Driver/Tools.cpp
lib/Frontend/CodeGenOptions.cpp
lib/Frontend/CompilerInvocation.cpp
test/CodeGen/2007-04-14-FNoBuiltin.c
test/CodeGen/libcalls-complex.c
test/CodeGen/libcalls-fno-builtin.c
test/CodeGen/nobuiltin.c
test/Sema/implicit-builtin-freestanding.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15195.42854.patch
Type: text/x-patch
Size: 17469 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151215/7eed38b9/attachment-0001.bin>
More information about the cfe-commits
mailing list