diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2019-05-01 11:15:47 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2019-05-19 11:56:14 +0200 |
commit | 62fb97fb41477003626af2c15901a75496c4aa22 (patch) | |
tree | d3b2e8b2390659d4c584d6c3c7786f0b5e900d18 /compilerplugins | |
parent | 7aa30433719faece8c40e41d7aa8c7539287932d (diff) |
PPCallback clang plugin should say so
Change-Id: I76148f152f57af74935c99e290b30b509511dfd8
Reviewed-on: https://gerrit.libreoffice.org/72546
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'compilerplugins')
-rw-r--r-- | compilerplugins/clang/readability-redundant-pp.cxx | 4 |
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; |