diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-05-04 03:15:40 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-05-04 03:15:40 +0000 |
commit | 36bd40df7252be541973580e27c7bcbd62e6a605 (patch) | |
tree | 7f34e5173bc70b18dea0591769976aaa75364466 /clang/unittests/Basic/SourceManagerTest.cpp | |
parent | 410a9e1e1e266ef6efe0ac6eb35b9933535ae33c (diff) | |
download | bcm5719-llvm-36bd40df7252be541973580e27c7bcbd62e6a605.tar.gz bcm5719-llvm-36bd40df7252be541973580e27c7bcbd62e6a605.zip |
Switch PPCallbacks to take the new MacroDefinition instead of MacroDirective*, in order to preserve full information on module macro expansion.
llvm-svn: 236404
Diffstat (limited to 'clang/unittests/Basic/SourceManagerTest.cpp')
-rw-r--r-- | clang/unittests/Basic/SourceManagerTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/unittests/Basic/SourceManagerTest.cpp b/clang/unittests/Basic/SourceManagerTest.cpp index a151bd5a1f6..494c27a2f1c 100644 --- a/clang/unittests/Basic/SourceManagerTest.cpp +++ b/clang/unittests/Basic/SourceManagerTest.cpp @@ -263,7 +263,7 @@ public: MacroNameTok.getIdentifierInfo()->getName(), true)); } - void MacroExpands(const Token &MacroNameTok, const MacroDirective *MD, + void MacroExpands(const Token &MacroNameTok, const MacroDefinition &MD, SourceRange Range, const MacroArgs *Args) override { Macros.push_back(MacroAction(MacroNameTok.getLocation(), MacroNameTok.getIdentifierInfo()->getName(), |