forked from OSchip/llvm-project
Use the correct cast kind as suggested by Doug.
llvm-svn: 78395
This commit is contained in:
parent
2f7562c83e
commit
4f4aab2aeb
|
@ -2001,7 +2001,8 @@ Sema::PerformObjectArgumentInitialization(Expr *&From, CXXMethodDecl *Method) {
|
|||
From->getSourceRange()))
|
||||
return true;
|
||||
|
||||
ImpCastExprToType(From, DestType, CastExpr::CK_Unknown, /*isLvalue=*/true);
|
||||
ImpCastExprToType(From, DestType, CastExpr::CK_DerivedToBase,
|
||||
/*isLvalue=*/true);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue