Make the FilenameRange of the InclusionDirective callback more accurate,
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Thu, 1 Nov 2012 17:52:58 +0000 (17:52 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Thu, 1 Nov 2012 17:52:58 +0000 (17:52 +0000)
commit2edbc86809454ff66ccfd2737e7fd3dbe5343c84
treee4eb8fb0989abddcc24dc1b73ae6087faeebae42
parent66e7ed959f9373f8596650e94b4176fe694be72a
Make the FilenameRange of the InclusionDirective callback more accurate,
preserve the macro location of the range end if the filename came from a macro.

Patch by Kim Gräsman!

llvm-svn: 167239
clang/lib/Lex/PPDirectives.cpp
clang/unittests/Lex/CMakeLists.txt
clang/unittests/Lex/PPCallbacksTest.cpp [new file with mode: 0644]