]> granicus.if.org Git - clang/commit
Revert "[OpenCL] Enabling the usage of CLK_NULL_QUEUE as compare operand."
authorDaniel Jasper <djasper@google.com>
Tue, 20 Dec 2016 10:05:04 +0000 (10:05 +0000)
committerDaniel Jasper <djasper@google.com>
Tue, 20 Dec 2016 10:05:04 +0000 (10:05 +0000)
commit04092174f77a5cba9a2ff50d88002ffd82e478a5
tree26173d59f69e4e47b3b875abbcf6175c69b4ed83
parentadd07b73fd0f5cd4110bf6c944112df9350380d5
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
14 files changed:
include/clang/AST/OperationKinds.def
include/clang/Sema/Initialization.h
include/clang/Sema/Overload.h
lib/AST/ExprConstant.cpp
lib/CodeGen/CGExprAgg.cpp
lib/CodeGen/CGExprComplex.cpp
lib/CodeGen/CGExprScalar.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/SemaExprCXX.cpp
lib/Sema/SemaInit.cpp
lib/Sema/SemaOverload.cpp
test/CodeGenOpenCL/null_queue.cl [deleted file]
test/SemaOpenCL/null_queue.cl [deleted file]
test/SemaOpenCL/queue_t_overload.cl [deleted file]