compilerplugins/clang/redundantcast.cxx | 4 ---- 1 file changed, 4 deletions(-)
New commits: commit 2688a8829771289d576415a9b933a1c30197cf01 Author: Stephan Bergmann <sberg...@redhat.com> Date: Mon Mar 30 13:48:45 2015 +0200 Remove leftover debug code Change-Id: I874fc4d677abb2646bffb4331a220f3812443b66 diff --git a/compilerplugins/clang/redundantcast.cxx b/compilerplugins/clang/redundantcast.cxx index 22e2ddf..007a638 100644 --- a/compilerplugins/clang/redundantcast.cxx +++ b/compilerplugins/clang/redundantcast.cxx @@ -115,10 +115,6 @@ bool RedundantCast::VisitImplicitCastExpr(const ImplicitCastExpr * expr) { Expr const * e = expr->getSubExpr()->IgnoreParenImpCasts(); while (isa<CXXConstCastExpr>(e)) { auto cc = dyn_cast<CXXConstCastExpr>(e); -if(!cc->getSubExpr()->getType()->isPointerType()){ - report(DiagnosticsEngine::Warning,"TODO",cc->getExprLoc())<<expr->getSourceRange(); - return true; -} if (expr->getType()->getAs<PointerType>()->getPointeeType() .isAtLeastAsQualifiedAs( cc->getSubExpr()->getType() _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits