]> granicus.if.org Git - clang/commit
Enhance Lexer::makeFileCharRange to check for ranges inside a macro argument
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 20 Jan 2012 16:52:43 +0000 (16:52 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 20 Jan 2012 16:52:43 +0000 (16:52 +0000)
commitd9806c912ae3e870a733acfd83c26e8a1f6a5ffc
tree2c88ac00c99f519f46538c980b2168cf1c1034c3
parent74fe66181db91d45d48f57abe325ea487e32ddbc
Enhance Lexer::makeFileCharRange to check for ranges inside a macro argument
expansion, in which case it returns a file range in the location where the
argument was spelled.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148551 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Lex/Lexer.cpp
unittests/Lex/LexerTest.cpp