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)
commita08ed5965caf1593f8faf2175b8e074808281331
treea5bb1d8c3ea154f674589fc8dfefeab1c7cdc149
parent00d1b59184bbfcfbaffef267426eaf38bcdef4b1
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.

llvm-svn: 174767
clang/lib/Lex/TokenConcatenation.cpp
clang/test/Preprocessor/output_paste_avoid.cpp [moved from clang/test/Preprocessor/output_paste_avoid.c with 73% similarity]