Kaydet (Commit) 7ba37116 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Remove accidentally committed debug code

Change-Id: Iba6b97d1a4a0988a3b0404bd14097f92a500d8ae
üst 7660e4dc
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment