commit | dcdecf4a777e503b24de6b15a054d580b585c06c | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Fri May 15 16:08:43 2009 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Fri May 15 16:08:43 2009 +0000 |
tree | 8d5314f747eabfddb8bd95bd434335410825ff50 | |
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