]> granicus.if.org Git - clang/commit
Simplify logic for avoiding concatenation after numeric constants.
authorJordan Rose <jordan_rose@apple.com>
Fri, 8 Feb 2013 22:30:31 +0000 (22:30 +0000)
committerJordan Rose <jordan_rose@apple.com>
Fri, 8 Feb 2013 22:30:31 +0000 (22:30 +0000)
commit4a04d445af4d29440371800409babc98708d98aa
tree66c9725f3eff51f2e673ed22b375441af3667e6f
parent6d4f73498cf014b002e72368f1c80b6b0a0785f0
Simplify logic for avoiding concatenation after numeric constants.

I threw in a couple of test cases for UD-suffixes -- already working, but
it wasn't immediately obvious to me.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174767 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Lex/TokenConcatenation.cpp
test/Preprocessor/output_paste_avoid.cpp [moved from test/Preprocessor/output_paste_avoid.c with 73% similarity]