summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGExprComplex.cpp
diff options
context:
space:
mode:
authorAndrew Savonichev <andrew.savonichev@intel.com>2018-10-23 15:19:20 +0000
committerAndrew Savonichev <andrew.savonichev@intel.com>2018-10-23 15:19:20 +0000
commitb555b76ed3548d0a27653eac746bc686f810caa3 (patch)
tree40f94849e6abdae867b07faa1100c2bb72dde412 /clang/lib/CodeGen/CGExprComplex.cpp
parent532a0f122e3a20415704fe3899351332795238e6 (diff)
downloadbcm5719-llvm-b555b76ed3548d0a27653eac746bc686f810caa3.tar.gz
bcm5719-llvm-b555b76ed3548d0a27653eac746bc686f810caa3.zip
[OpenCL][NFC] Unify ZeroToOCL* cast types
Reviewers: Anastasia, yaxunl Reviewed By: Anastasia Subscribers: asavonic, cfe-commits Differential Revision: https://reviews.llvm.org/D52654 llvm-svn: 345038
Diffstat (limited to 'clang/lib/CodeGen/CGExprComplex.cpp')
-rw-r--r--clang/lib/CodeGen/CGExprComplex.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGExprComplex.cpp b/clang/lib/CodeGen/CGExprComplex.cpp
index 1d5438668bb..773568e1798 100644
--- a/clang/lib/CodeGen/CGExprComplex.cpp
+++ b/clang/lib/CodeGen/CGExprComplex.cpp
@@ -505,8 +505,7 @@ ComplexPairTy ComplexExprEmitter::EmitCast(CastKind CK, Expr *Op,
case CK_ARCExtendBlockObject:
case CK_CopyAndAutoreleaseBlockObject:
case CK_BuiltinFnToFnPtr:
- case CK_ZeroToOCLEvent:
- case CK_ZeroToOCLQueue:
+ case CK_ZeroToOCLOpaqueType:
case CK_AddressSpaceConversion:
case CK_IntToOCLSampler:
case CK_FixedPointCast:
OpenPOWER on IntegriCloud