[PATCH] D27569: [OpenCL] Enabling the usage of CLK_NULL_QUEUE as compare operand.

Anastasia Stulova via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 16 06:48:49 PST 2016


Anastasia added inline comments.


================
Comment at: test/SemaOpenCL/queue_t_overload.cl:10
+  foo(0, src2);
+  foo(q, src3); // expected-error {{call to 'foo' is ambiguous}}
+}
----------------
could we also add something non-convertible for queue i.e.
  foo(1, src3);


https://reviews.llvm.org/D27569





More information about the cfe-commits mailing list