From 36bd40df7252be541973580e27c7bcbd62e6a605 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Mon, 4 May 2015 03:15:40 +0000 Subject: Switch PPCallbacks to take the new MacroDefinition instead of MacroDirective*, in order to preserve full information on module macro expansion. llvm-svn: 236404 --- clang/unittests/Basic/SourceManagerTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/unittests/Basic/SourceManagerTest.cpp') 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(), -- cgit v1.2.3