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)
commit73ccdb9c152cbd8505716292f2ca765d012fd2fd
tree60531b78f8960f4765c7441bb49a81a3b2a4f43b
parent03c20e83b8b88b5c936c1ffcfd8b63839253a744
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

llvm-svn: 166359
clang/include/clang/Basic/SourceManager.h
clang/lib/Basic/SourceManager.cpp
clang/test/Index/get-cursor-macro-args.h
clang/test/Index/get-cursor-macro-args.m