forked from OSchip/llvm-project
Fixed a cut&paste error introduced in r141336.
llvm-svn: 144637
This commit is contained in:
parent
e14ef7e6f8
commit
9847e744e2
|
@ -2001,7 +2001,7 @@ void CastOperation::CheckCStyleCast() {
|
|||
DestType->isArithmeticType()) {
|
||||
Self.Diag(SrcExpr.get()->getLocStart(),
|
||||
diag::err_cast_pointer_to_non_pointer_int)
|
||||
<< SrcType << SrcExpr.get()->getSourceRange();
|
||||
<< DestType << SrcExpr.get()->getSourceRange();
|
||||
SrcExpr = ExprError();
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue