]> granicus.if.org Git - clang/commit
If the first token in a macro that appears at the start of a line expands to
authorRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 24 Feb 2014 20:45:00 +0000 (20:45 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 24 Feb 2014 20:45:00 +0000 (20:45 +0000)
commit53ddd4178736aca83550b4c85bacd4078e221539
treecaa8e0893a19741b4fcf0c47f12049fdf572090c
parent4c58bbd0fa5992c56abd79607a236963ae3cd73e
If the first token in a macro that appears at the start of a line expands to
nothing, be sure to inform the *next* token expanded from the macro that it is
now at the start of a line. Patch by Harald van Dijk!

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