aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2013-02-22 00:32:00 +0000
committerJordan Rose <jordan_rose@apple.com>2013-02-22 00:32:00 +0000
commit176057b5781e955fcfd908e90b20528292b50004 (patch)
treee989ea762967dfdb2724c3fabf00616aa5d46152 /clang/lib/Frontend/CompilerInvocation.cpp
parente30f61cb368680c80d2a9729b1ab2832068a70f7 (diff)
downloadllvm-176057b5781e955fcfd908e90b20528292b50004.zip
llvm-176057b5781e955fcfd908e90b20528292b50004.tar.gz
llvm-176057b5781e955fcfd908e90b20528292b50004.tar.bz2
Preproceessor: fix #if skipping under -traditional-cpp.
When parsing directives within skipped #if blocks, we don't want to retain any whitespace. Previously we were just skipping comments, but it's not possible to skip comments and retain other whitespace. This change matches the usual behavior for parsing directives (i.e. the behavior outside of skipped #if blocks). <rdar://problem/13267695> llvm-svn: 175840
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions