summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compilerplugins/clang/readability-redundant-pp.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/compilerplugins/clang/readability-redundant-pp.cxx b/compilerplugins/clang/readability-redundant-pp.cxx
index ed7fed1082c9..2411dfb75f62 100644
--- a/compilerplugins/clang/readability-redundant-pp.cxx
+++ b/compilerplugins/clang/readability-redundant-pp.cxx
@@ -40,6 +40,10 @@ public:
void Ifdef(clang::SourceLocation aLoc, const clang::Token& rMacroNameTok,
const clang::MacroDefinition& rMacroDefinition) override;
void Endif(clang::SourceLocation aLoc, clang::SourceLocation aIfLoc) override;
+ enum
+ {
+ isPPCallback = true
+ };
private:
clang::Preprocessor& m_rPP;