Explorar el Código

Handle PragmaDebug in PPChainedCallbacks

The test is in clang-tools-extra/test/pp-trace


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@316621 91177308-0d34-0410-b5e6-96231b3b80d8
Alex Lorenz hace 7 años
padre
commit
2150c7da3d
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. 5 0
      include/clang/Lex/PPCallbacks.h

+ 5 - 0
include/clang/Lex/PPCallbacks.h

@@ -410,6 +410,11 @@ public:
     Second->PragmaDetectMismatch(Loc, Name, Value);
   }
 
+  void PragmaDebug(SourceLocation Loc, StringRef DebugType) override {
+    First->PragmaDebug(Loc, DebugType);
+    Second->PragmaDebug(Loc, DebugType);
+  }
+
   void PragmaMessage(SourceLocation Loc, StringRef Namespace,
                      PragmaMessageKind Kind, StringRef Str) override {
     First->PragmaMessage(Loc, Namespace, Kind, Str);