]> granicus.if.org Git - clang/commit
For the MacroExpands preprocessor callback, also pass the SourceRange
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Thu, 18 Aug 2011 01:05:45 +0000 (01:05 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Thu, 18 Aug 2011 01:05:45 +0000 (01:05 +0000)
commit1b2d53647dda5e4a70cea54ec3bedbf167081120
tree6ece6ac30e55ea72726bd681c376d73a2c89d99b
parent81ae90200aa11be15ec12e9639bd82a3798b8e07
For the MacroExpands preprocessor callback, also pass the SourceRange
of expansion (for function macros it includes the right paren).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137909 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Lex/PPCallbacks.h
include/clang/Lex/PreprocessingRecord.h
lib/ARCMigrate/ARCMT.cpp
lib/Lex/PPMacroExpansion.cpp
lib/Lex/PreprocessingRecord.cpp
test/Index/c-index-getCursor-test.m
test/Index/nested-macro-instantiations.cpp