compilerplugins/clang/check.cxx | 9 --------- compilerplugins/clang/check.hxx | 2 -- 2 files changed, 11 deletions(-)
New commits: commit 659109609ba2a7a827a4920c9456432b70cb001a Author: Stephan Bergmann <sberg...@redhat.com> Date: Tue Jan 23 11:04:07 2018 +0100 Remove unused TypeCheck::SubstTemplateTypeParmType ...introduced unused with 91b4e4531621b7afb2dbab1a8aa62c92da66951a "new loplugin: pointerbool" Change-Id: I3af0ce878f1f2742223d66bcdade4e9c144162cd Reviewed-on: https://gerrit.libreoffice.org/48387 Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/compilerplugins/clang/check.cxx b/compilerplugins/clang/check.cxx index 8b3e409be2d1..2a7b0a978348 100644 --- a/compilerplugins/clang/check.cxx +++ b/compilerplugins/clang/check.cxx @@ -138,15 +138,6 @@ TypeCheck TypeCheck::NotSubstTemplateTypeParmType() const { ? *this : TypeCheck(); } -TypeCheck TypeCheck::SubstTemplateTypeParmType() const { - if (!type_.isNull()) { - if (auto const t = type_->getAs<clang::SubstTemplateTypeParmType>()) { - return TypeCheck(t->desugar()); - } - } - return TypeCheck(); -} - ContextCheck DeclCheck::Operator(clang::OverloadedOperatorKind op) const { assert(op != clang::OO_None); auto f = llvm::dyn_cast_or_null<clang::FunctionDecl>(decl_); diff --git a/compilerplugins/clang/check.hxx b/compilerplugins/clang/check.hxx index f31599f1b153..af6e8263df39 100644 --- a/compilerplugins/clang/check.hxx +++ b/compilerplugins/clang/check.hxx @@ -72,8 +72,6 @@ public: TypeCheck NotSubstTemplateTypeParmType() const; - TypeCheck SubstTemplateTypeParmType() const; - private: TypeCheck() = default; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits