Switch PPCallbacks to take the new MacroDefinition instead of MacroDirective*, in...
authorRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 4 May 2015 03:15:40 +0000 (03:15 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 4 May 2015 03:15:40 +0000 (03:15 +0000)
commit36bd40df7252be541973580e27c7bcbd62e6a605
tree7f34e5173bc70b18dea0591769976aaa75364466
parent410a9e1e1e266ef6efe0ac6eb35b9933535ae33c
Switch PPCallbacks to take the new MacroDefinition instead of MacroDirective*, in order to preserve full information on module macro expansion.

llvm-svn: 236404
14 files changed:
clang/include/clang/Lex/PPCallbacks.h
clang/include/clang/Lex/PPConditionalDirectiveRecord.h
clang/include/clang/Lex/PreprocessingRecord.h
clang/include/clang/Lex/Preprocessor.h
clang/lib/ARCMigrate/ARCMT.cpp
clang/lib/Frontend/PrintPreprocessedOutput.cpp
clang/lib/Lex/PPConditionalDirectiveRecord.cpp
clang/lib/Lex/PPDirectives.cpp
clang/lib/Lex/PPExpressions.cpp
clang/lib/Lex/PPMacroExpansion.cpp
clang/lib/Lex/PreprocessingRecord.cpp
clang/test/Modules/macros.c
clang/tools/libclang/Indexing.cpp
clang/unittests/Basic/SourceManagerTest.cpp