Try to make the source location information for token pastes a bit more consistent.
authorEli Friedman <eli.friedman@gmail.com>
Sat, 1 Dec 2012 01:15:54 +0000 (01:15 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Sat, 1 Dec 2012 01:15:54 +0000 (01:15 +0000)
commitfe9d110f3a3cb7488cd74b7e2eb89b16d9ba22d3
treeaecd3957f95cec746138336ab66390e23d79c6c5
parentda2b6b381a0c7410895d367f4c1fc4f18ffa7d97
Try to make the source location information for token pastes a bit more consistent.

Fixes a crash printing diagnostics on the gcc testsuite, and also makes
diagnostic range printing print nicer results for token pastes.

llvm-svn: 169068
clang/lib/Lex/TokenLexer.cpp
clang/test/Misc/caret-diags-macros.c