Remove CastKind typedef from CastExpr since CastKind is in the clang namespace.
llvm-svn: 220955
This commit is contained in:
@@ -146,7 +146,7 @@ public:
|
||||
|
||||
// FIXME: CompoundLiteralExpr
|
||||
|
||||
ComplexPairTy EmitCast(CastExpr::CastKind CK, Expr *Op, QualType DestTy);
|
||||
ComplexPairTy EmitCast(CastKind CK, Expr *Op, QualType DestTy);
|
||||
ComplexPairTy VisitImplicitCastExpr(ImplicitCastExpr *E) {
|
||||
// Unlike for scalars, we don't have to worry about function->ptr demotion
|
||||
// here.
|
||||
@@ -417,7 +417,7 @@ ComplexPairTy ComplexExprEmitter::EmitScalarToComplexCast(llvm::Value *Val,
|
||||
return ComplexPairTy(Val, llvm::Constant::getNullValue(Val->getType()));
|
||||
}
|
||||
|
||||
ComplexPairTy ComplexExprEmitter::EmitCast(CastExpr::CastKind CK, Expr *Op,
|
||||
ComplexPairTy ComplexExprEmitter::EmitCast(CastKind CK, Expr *Op,
|
||||
QualType DestTy) {
|
||||
switch (CK) {
|
||||
case CK_Dependent: llvm_unreachable("dependent cast kind in IR gen!");
|
||||
|
||||
Reference in New Issue
Block a user