summaryrefslogtreecommitdiffstats
path: root/clang/test/Index/get-cursor-macro-args.h
Commit message (Collapse)AuthorAgeFilesLines
* When associating file ranges of macro arguments with theirArgyrios Kyrtzidis2012-10-201-2/+2
| | | | | | | | | | 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
* [libclang] Make clang_getCursor able to handle locations that point inside ↵Argyrios Kyrtzidis2011-08-171-0/+16
macro arguments. e.g. for: \define INVOKE(METHOD, CLASS) [CLASS METHOD] void test2() { INVOKE(meth, MyClass); } Pointing at 'meth' will give a CXCursor_ObjCMessageExpr and pointing at 'MyClass' will give a CXCursor_ObjCClassRef. llvm-svn: 137796
OpenPOWER on IntegriCloud