diff options
author | Daniel Jasper <djasper@google.com> | 2016-12-20 10:05:04 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2016-12-20 10:05:04 +0000 |
commit | 9068938eb0e5c46e506bb26fa8119bca2accf648 (patch) | |
tree | 695bbc51188855590032ff4549acd308c7b062ea /clang/lib/CodeGen/CGExprComplex.cpp | |
parent | 4be5d6744399b9bd365adbce4097cb8380dc1147 (diff) | |
download | bcm5719-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/CGExprComplex.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGExprComplex.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGExprComplex.cpp b/clang/lib/CodeGen/CGExprComplex.cpp index 59bc9cdbc05..60bbc5cfac1 100644 --- a/clang/lib/CodeGen/CGExprComplex.cpp +++ b/clang/lib/CodeGen/CGExprComplex.cpp @@ -480,7 +480,6 @@ ComplexPairTy ComplexExprEmitter::EmitCast(CastKind CK, Expr *Op, case CK_CopyAndAutoreleaseBlockObject: case CK_BuiltinFnToFnPtr: case CK_ZeroToOCLEvent: - case CK_ZeroToOCLQueue: case CK_AddressSpaceConversion: case CK_IntToOCLSampler: llvm_unreachable("invalid cast kind for complex value"); |