diff options
author | Chris Lattner <sabre@nondot.org> | 2009-05-15 16:08:43 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-05-15 16:08:43 +0000 |
commit | 4579b76ff60fcb99c2699f7a9026a4fd18e460be (patch) | |
tree | 829acc59e01b4eacd6082c74e6e71c159e1f13be /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 3281977dbbc20c78f200e2810af75be2674132a0 (diff) | |
download | bcm5719-llvm-4579b76ff60fcb99c2699f7a9026a4fd18e460be.tar.gz bcm5719-llvm-4579b76ff60fcb99c2699f7a9026a4fd18e460be.zip |
Fix processing of -Ufoo to not inject "#undef foo 1" into the predefines
buffer. This caused exciting nonsense like this:
$ clang t.c -fsyntax-only -UMACRO
In file included from <built-in>:104:
<command line>:1:14: warning: extra tokens at end of #undef directive [-Wextra-tokens]
#undef MACRO 1
^
//
1 diagnostic generated.
rdar://6891800
llvm-svn: 71860
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions