summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2011-08-03 00:04:13 +0000
committerEli Friedman <eli.friedman@gmail.com>2011-08-03 00:04:13 +0000
commitb3bfd84ebb6657be47c0294de459f1ff02d3a9c6 (patch)
tree59634af8a1bfd38227c7b35b167b094018566761 /clang/lib/CodeGen/CodeGenModule.cpp
parentd41f032a450b71c33dce5f37f08ee92e2a1b8e4f (diff)
downloadbcm5719-llvm-b3bfd84ebb6657be47c0294de459f1ff02d3a9c6.tar.gz
bcm5719-llvm-b3bfd84ebb6657be47c0294de459f1ff02d3a9c6.zip
A couple fixes for preprocessor expressions:
1. Be more tolerant of comments in -CC (comment-preserving) mode. We were missing a few cases. 2. Make sure to expand the second FOO in "#if defined FOO FOO". (See also r97253, which addressed the case of "#if defined(FOO FOO".) Fixes PR10286. llvm-svn: 136748
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud