compilerplugins/clang/readability-redundant-pp.cxx | 4 ++++ 1 file changed, 4 insertions(+)
New commits: commit 62fb97fb41477003626af2c15901a75496c4aa22 Author: Luboš Luňák <l.lu...@collabora.com> AuthorDate: Wed May 1 11:15:47 2019 +0200 Commit: Luboš Luňák <l.lu...@collabora.com> CommitDate: Sun May 19 11:56:14 2019 +0200 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.lu...@collabora.com> 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; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits