diff options
author | Andrew Savonichev <andrew.savonichev@intel.com> | 2018-10-23 15:19:20 +0000 |
---|---|---|
committer | Andrew Savonichev <andrew.savonichev@intel.com> | 2018-10-23 15:19:20 +0000 |
commit | b555b76ed3548d0a27653eac746bc686f810caa3 (patch) | |
tree | 40f94849e6abdae867b07faa1100c2bb72dde412 /clang/lib/CodeGen/CGExprAgg.cpp | |
parent | 532a0f122e3a20415704fe3899351332795238e6 (diff) | |
download | bcm5719-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/CGExprAgg.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGExprAgg.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGExprAgg.cpp b/clang/lib/CodeGen/CGExprAgg.cpp index 9e809872ce9..7808c84c126 100644 --- a/clang/lib/CodeGen/CGExprAgg.cpp +++ b/clang/lib/CodeGen/CGExprAgg.cpp @@ -847,8 +847,7 @@ void AggExprEmitter::VisitCastExpr(CastExpr *E) { 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: |