]> granicus.if.org Git - clang/commit
Switch the token-paste source locations inside of function style macro
authorChandler Carruth <chandlerc@gmail.com>
Fri, 8 Jul 2011 01:04:21 +0000 (01:04 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Fri, 8 Jul 2011 01:04:21 +0000 (01:04 +0000)
commit886ea9b4c8b20b3c550dffaa893b194792e49078
treea2f58913cd247cba97a2f81dc53f2f67a3a41da1
parentc8d1ecca1cd3fadbd331d15c420755aa6184554b
Switch the token-paste source locations inside of function style macro
argument expansion to use the macro argument source locations as well.
Add a few tests to exercise this. There is still a bit more work needed
here though.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134674 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Lex/TokenLexer.cpp
test/Misc/caret-diags-macros.c