[clang-tools-extra] r301468 - Fix API breaks

David Blaikie via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 26 13:58:03 PDT 2017


Author: dblaikie
Date: Wed Apr 26 15:58:03 2017
New Revision: 301468

URL: http://llvm.org/viewvc/llvm-project?rev=301468&view=rev
Log:
Fix API breaks

Modified:
    clang-tools-extra/trunk/pp-trace/PPCallbacksTracker.cpp
    clang-tools-extra/trunk/pp-trace/PPCallbacksTracker.h

Modified: clang-tools-extra/trunk/pp-trace/PPCallbacksTracker.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/pp-trace/PPCallbacksTracker.cpp?rev=301468&r1=301467&r2=301468&view=diff
==============================================================================
--- clang-tools-extra/trunk/pp-trace/PPCallbacksTracker.cpp (original)
+++ clang-tools-extra/trunk/pp-trace/PPCallbacksTracker.cpp Wed Apr 26 15:58:03 2017
@@ -324,7 +324,8 @@ PPCallbacksTracker::MacroDefined(const c
 // Hook called whenever a macro #undef is seen.
 void PPCallbacksTracker::MacroUndefined(
     const clang::Token &MacroNameTok,
-    const clang::MacroDefinition &MacroDefinition) {
+    const clang::MacroDefinition &MacroDefinition,
+    const clang::MacroDirective *Undef) {
   beginCallback("MacroUndefined");
   appendArgument("MacroNameTok", MacroNameTok);
   appendArgument("MacroDefinition", MacroDefinition);

Modified: clang-tools-extra/trunk/pp-trace/PPCallbacksTracker.h
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/pp-trace/PPCallbacksTracker.h?rev=301468&r1=301467&r2=301468&view=diff
==============================================================================
--- clang-tools-extra/trunk/pp-trace/PPCallbacksTracker.h (original)
+++ clang-tools-extra/trunk/pp-trace/PPCallbacksTracker.h Wed Apr 26 15:58:03 2017
@@ -140,7 +140,8 @@ public:
   void MacroDefined(const clang::Token &MacroNameTok,
                     const clang::MacroDirective *MD) override;
   void MacroUndefined(const clang::Token &MacroNameTok,
-                      const clang::MacroDefinition &MD) override;
+                      const clang::MacroDefinition &MD,
+                      const clang::MacroDirective *Undef) override;
   void Defined(const clang::Token &MacroNameTok,
                const clang::MacroDefinition &MD,
                clang::SourceRange Range) override;




More information about the cfe-commits mailing list