]> granicus.if.org Git - clang/commit
When associating file ranges of macro arguments with their
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sat, 20 Oct 2012 00:51:32 +0000 (00:51 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sat, 20 Oct 2012 00:51:32 +0000 (00:51 +0000)
commit0872a06d1ee1a3b62ef833f955051418d18006a1
treee80dec7e201d432c8d3db16e2808883df05d1779
parent9fe48561a199ef6e684e0ea9656b425baeca92a8
When associating file ranges of macro arguments with their
macro expansion ranges, make sure to check all the FileID
entries that are contained in the spelling range of the
expansion for the macro argument.

Fixes rdar://12537982

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166359 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/SourceManager.h
lib/Basic/SourceManager.cpp
test/Index/get-cursor-macro-args.h
test/Index/get-cursor-macro-args.m