compilerplugins/clang/defaultparams.cxx | 7 ------- 1 file changed, 7 deletions(-)
New commits: commit 7ba3711606ec709217ade66d3281668ecadf2d50 Author: Stephan Bergmann <sberg...@redhat.com> Date: Tue Oct 20 11:43:58 2015 +0200 Remove accidentally committed debug code Change-Id: Iba6b97d1a4a0988a3b0404bd14097f92a500d8ae diff --git a/compilerplugins/clang/defaultparams.cxx b/compilerplugins/clang/defaultparams.cxx index 7a2facd..e6f6921 100644 --- a/compilerplugins/clang/defaultparams.cxx +++ b/compilerplugins/clang/defaultparams.cxx @@ -40,13 +40,6 @@ bool DefaultParams::VisitCallExpr(CallExpr * callExpr) { if (n == 0 || !functionDecl->getParamDecl(n - 1)->hasDefaultArg()) { return true; } -if(callExpr->getNumArgs()>n){ - report( - DiagnosticsEngine::Warning, "TODO %0 != %1", callExpr->getLocStart()) - << callExpr->getNumArgs() << n << callExpr->getSourceRange(); - callExpr->dump(); - return true; -} assert(callExpr->getNumArgs() <= n); // can be < in template code for (unsigned i = callExpr->getNumArgs(); i != 0;) { --i; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits