From: Alex Lorenz Date: Wed, 25 Oct 2017 22:01:23 +0000 (+0000) Subject: Handle PragmaDebug in PPChainedCallbacks X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2150c7da3d9103acdaa3e09a99a9aaa0275549ee;p=clang 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 --- diff --git a/include/clang/Lex/PPCallbacks.h b/include/clang/Lex/PPCallbacks.h index 8cb1656270..19bce4dd32 100644 --- a/include/clang/Lex/PPCallbacks.h +++ b/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);