Report full type info (plus the desugared type as "aka")
Change-Id: I647b1c3e479e0be01ed7ea16e1ad3dd9bed9ba6a
This commit is contained in:
parent
e5eedf7af4
commit
d7a9abdce5
@ -645,7 +645,7 @@ bool RedundantCast::VisitCXXFunctionalCastExpr(CXXFunctionalCastExpr const * exp
|
||||
report(
|
||||
DiagnosticsEngine::Warning,
|
||||
"redundant functional cast from %0 to %1", expr->getExprLoc())
|
||||
<< t2 << t1 << expr->getSourceRange();
|
||||
<< sub->getType() << t1 << expr->getSourceRange();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user