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 | 04092174f77a5cba9a2ff50d88002ffd82e478a5 (patch) | |
| tree | 26173d59f69e4e47b3b875abbcf6175c69b4ed83 /lib/CodeGen/CGExprComplex.cpp | |
| parent | add07b73fd0f5cd4110bf6c944112df9350380d5 (diff) | |
| download | clang-04092174f77a5cba9a2ff50d88002ffd82e478a5.tar.gz | |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@290173 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprComplex.cpp')
| -rw-r--r-- | lib/CodeGen/CGExprComplex.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/CodeGen/CGExprComplex.cpp b/lib/CodeGen/CGExprComplex.cpp index 59bc9cdbc0..60bbc5cfac 100644 --- a/lib/CodeGen/CGExprComplex.cpp +++ b/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"); |
