summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGExprComplex.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-10-31 06:57:10 +0000
committerCraig Topper <craig.topper@gmail.com>2014-10-31 06:57:10 +0000
commit1a07fd1845341597ec06833d35bc13a46a348f6c (patch)
tree087f0986968cd6e472fb22983ca959818425a35c /clang/lib/CodeGen/CGExprComplex.cpp
parent9ad7e266513cb3c3a98b0be16547cbcfa77a29ba (diff)
downloadbcm5719-llvm-1a07fd1845341597ec06833d35bc13a46a348f6c.tar.gz
bcm5719-llvm-1a07fd1845341597ec06833d35bc13a46a348f6c.zip
Remove CastKind typedef from CastExpr since CastKind is in the clang namespace.
llvm-svn: 220955
Diffstat (limited to 'clang/lib/CodeGen/CGExprComplex.cpp')
-rw-r--r--clang/lib/CodeGen/CGExprComplex.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGExprComplex.cpp b/clang/lib/CodeGen/CGExprComplex.cpp
index ca19c94be08..4700c7eef35 100644
--- a/clang/lib/CodeGen/CGExprComplex.cpp
+++ b/clang/lib/CodeGen/CGExprComplex.cpp
@@ -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!");
OpenPOWER on IntegriCloud