r316621 - Handle PragmaDebug in PPChainedCallbacks
Alex Lorenz via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 25 15:01:23 PDT 2017
Author: arphaman
Date: Wed Oct 25 15:01:23 2017
New Revision: 316621
URL: http://llvm.org/viewvc/llvm-project?rev=316621&view=rev
Log:
Handle PragmaDebug in PPChainedCallbacks
The test is in clang-tools-extra/test/pp-trace
Modified:
cfe/trunk/include/clang/Lex/PPCallbacks.h
Modified: cfe/trunk/include/clang/Lex/PPCallbacks.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Lex/PPCallbacks.h?rev=316621&r1=316620&r2=316621&view=diff
==============================================================================
--- cfe/trunk/include/clang/Lex/PPCallbacks.h (original)
+++ cfe/trunk/include/clang/Lex/PPCallbacks.h Wed Oct 25 15:01:23 2017
@@ -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);
More information about the cfe-commits
mailing list