]> granicus.if.org Git - clang/commit
Enable queue_t and clk_event_t comparisons in C++ mode
authorSven van Haastregt <sven.vanhaastregt@arm.com>
Thu, 23 May 2019 09:20:08 +0000 (09:20 +0000)
committerSven van Haastregt <sven.vanhaastregt@arm.com>
Thu, 23 May 2019 09:20:08 +0000 (09:20 +0000)
commit0ff106e556737dbad8c7396bbce76df32feb4b76
treea106f524c1d4b0319c7e59fd950f6869dc9e338d
parent37d9edc0c5cfeae8b2e7dac173129ae6ab2c9429
Enable queue_t and clk_event_t comparisons in C++ mode

Support queue_t and clk_event_t comparisons in C++ for OpenCL mode, to
preserve backwards compatibility with OpenCL C.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@361467 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaExpr.cpp
test/SemaOpenCL/clk_event_t.cl