]> granicus.if.org Git - clang/commit
If preprocessing results in a token with leading whitespace that was expanded
authorRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 24 Feb 2014 20:50:36 +0000 (20:50 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 24 Feb 2014 20:50:36 +0000 (20:50 +0000)
commitd55429f14a23e27dda52d2688e8432ae0525bc21
tree9d52ff31c2680c3de02e35d26736975dc64d8b7a
parent413d8a21001c5f37bcf82f91e405a3513796ad7e
If preprocessing results in a token with leading whitespace that was expanded
from a macro in column 0, ensure that we print whitespace before it in the -E
output. Patch by Harald van Dijk!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@202070 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Frontend/PrintPreprocessedOutput.cpp
test/Preprocessor/macro_expand_empty.c