loplugin:cstylecast
and improve the error message in the plugin Change-Id: I8719832a48e14c132f463340fbbc537845f82b0b
This commit is contained in:
		| @@ -198,7 +198,7 @@ bool CStyleCast::VisitCStyleCastExpr(const CStyleCastExpr * expr) { | ||||
|     report( | ||||
|         DiagnosticsEngine::Warning, "%0 C-style cast from %1%2 to %3%4%5", | ||||
|         expr->getSourceRange().getBegin()) | ||||
|       << expr->getCastKindName() << incompFrom | ||||
|       << incompFrom | ||||
|       << expr->getSubExprAsWritten()->getType() << incompTo << expr->getType() | ||||
|       << performs << expr->getSourceRange(); | ||||
|     return true; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user