]> granicus.if.org Git - clang/commit
[OpenCL] Enabling the usage of CLK_NULL_QUEUE as compare operand.
authorEgor Churaev <egor.churaev@gmail.com>
Tue, 20 Dec 2016 09:15:21 +0000 (09:15 +0000)
committerEgor Churaev <egor.churaev@gmail.com>
Tue, 20 Dec 2016 09:15:21 +0000 (09:15 +0000)
commitb49f706eef3ac5cdadd86aaac5a50335cf8d895e
treed778615345c1c6e7d0fd92820a421cc5da145686
parent4e57f52faea670d545cbe937f52e6e9cf5d19b0b
[OpenCL] Enabling the usage of CLK_NULL_QUEUE as compare operand.

Summary: Enabling the compression of CLK_NULL_QUEUE to variable of type queue_t.

Reviewers: Anastasia

Subscribers: cfe-commits, yaxunl, bader

Differential Revision: https://reviews.llvm.org/D27569

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@290171 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 [new file with mode: 0644]
test/SemaOpenCL/null_queue.cl [new file with mode: 0644]
test/SemaOpenCL/queue_t_overload.cl [new file with mode: 0644]