[PATCH] D53871: [OpenCL] Allow clk_event_t comparisons
Marco Antognini via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 1 03:07:48 PDT 2018
mantognini accepted this revision.
mantognini added a comment.
This revision is now accepted and ready to land.
LGTM, but please add a comment in the test file.
================
Comment at: test/SemaOpenCL/clk_event_t.cl:3
+#define CLK_NULL_EVENT (__builtin_astype(((void*)(__SIZE_MAX__)), clk_event_t))
+
----------------
It would be nice to have a comment saying this macro was extracted from the `opencl-c.h` header file.
Repository:
rC Clang
https://reviews.llvm.org/D53871
More information about the cfe-commits
mailing list