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 | dcdecf4a777e503b24de6b15a054d580b585c06c (patch) | |
tree | 8d5314f747eabfddb8bd95bd434335410825ff50 /lib/Frontend/PCHReaderStmt.cpp | |
parent | 7db16041263f39df6deb1145b5c039dfd8da6af0 (diff) |
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
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71860 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/PCHReaderStmt.cpp')
0 files changed, 0 insertions, 0 deletions