projects
/
clang
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d67bfb9
)
Handle PragmaDebug in PPChainedCallbacks
author
Alex Lorenz
<arphaman@gmail.com>
Wed, 25 Oct 2017 22:01:23 +0000
(22:01 +0000)
committer
Alex Lorenz
<arphaman@gmail.com>
Wed, 25 Oct 2017 22:01:23 +0000
(22:01 +0000)
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
include/clang/Lex/PPCallbacks.h
patch
|
blob
|
history
diff --git
a/include/clang/Lex/PPCallbacks.h
b/include/clang/Lex/PPCallbacks.h
index 8cb1656270479058d016606ac102aa1043a89b19..19bce4dd32e88943aeaf8366e7deba1600152edd 100644
(file)
--- 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);