summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGExprAgg.cpp
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2016-12-20 10:05:04 +0000
committerDaniel Jasper <djasper@google.com>2016-12-20 10:05:04 +0000
commit9068938eb0e5c46e506bb26fa8119bca2accf648 (patch)
tree695bbc51188855590032ff4549acd308c7b062ea /clang/lib/CodeGen/CGExprAgg.cpp
parent4be5d6744399b9bd365adbce4097cb8380dc1147 (diff)
downloadbcm5719-llvm-9068938eb0e5c46e506bb26fa8119bca2accf648.tar.gz
bcm5719-llvm-9068938eb0e5c46e506bb26fa8119bca2accf648.zip
Revert "[OpenCL] Enabling the usage of CLK_NULL_QUEUE as compare operand."
This reverts commit r290171. It triggers a bunch of warnings, because the new enumerator isn't handled in all switches. We want a warning-free build. Replied on the commit with more details. llvm-svn: 290173
Diffstat (limited to 'clang/lib/CodeGen/CGExprAgg.cpp')
-rw-r--r--clang/lib/CodeGen/CGExprAgg.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGExprAgg.cpp b/clang/lib/CodeGen/CGExprAgg.cpp
index 009244784e5..35148bea001 100644
--- a/clang/lib/CodeGen/CGExprAgg.cpp
+++ b/clang/lib/CodeGen/CGExprAgg.cpp
@@ -751,7 +751,6 @@ void AggExprEmitter::VisitCastExpr(CastExpr *E) {
case CK_CopyAndAutoreleaseBlockObject:
case CK_BuiltinFnToFnPtr:
case CK_ZeroToOCLEvent:
- case CK_ZeroToOCLQueue:
case CK_AddressSpaceConversion:
case CK_IntToOCLSampler:
llvm_unreachable("cast kind invalid for aggregate types");
OpenPOWER on IntegriCloud