Kaydet (Commit) 2688a882 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Remove leftover debug code

Change-Id: I874fc4d677abb2646bffb4331a220f3812443b66
üst 50b02731
......@@ -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()
......
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