compilerplugins/clang/salcall.cxx | 4 ++++ 1 file changed, 4 insertions(+)
New commits: commit 5940f3020e513c769c5cf452b49c1f211358c525 Author: Stephan Bergmann <sberg...@redhat.com> Date: Mon Dec 4 18:41:09 2017 +0100 -Werror=unused-function Change-Id: I411a134daef6ad061ab54b300e379b882395905b diff --git a/compilerplugins/clang/salcall.cxx b/compilerplugins/clang/salcall.cxx index f982d7f41b11..2c34f8281b96 100644 --- a/compilerplugins/clang/salcall.cxx +++ b/compilerplugins/clang/salcall.cxx @@ -57,8 +57,10 @@ public: private: void checkForFunctionDecl(Expr const*, bool bCheckOnly = false); +#if 0 bool rewrite(SourceLocation); bool checkOverlap(SourceRange); +#endif bool isSalCallFunction(FunctionDecl const* functionDecl, SourceLocation* pLoc = nullptr); std::set<FunctionDecl const*> m_addressOfSet; @@ -326,6 +328,7 @@ bool SalCall::isSalCallFunction(FunctionDecl const* functionDecl, SourceLocation return true; } +#if 0 bool SalCall::rewrite(SourceLocation locBegin) { if (!rewriter) @@ -363,6 +366,7 @@ bool SalCall::checkOverlap(SourceRange range) mvModifiedRanges.emplace_back(p1, p2); return true; } +#endif static loplugin::Plugin::Registration<SalCall> reg("salcall", true); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits