[PATCH] D17438: [OpenCL] Add Sema checks for atomics and implicit declaration

Anastasia Stulova via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 19 12:22:22 PST 2016


Anastasia added inline comments.

================
Comment at: lib/Sema/SemaDecl.cpp:11504
@@ +11503,3 @@
+  else if (getLangOpts().OpenCL)
+    // OpenCL function need to be called with prototype, so we don't allow
+    // implicit function declarations in OpenCL
----------------
Could you add spec reference please!


http://reviews.llvm.org/D17438





More information about the cfe-commits mailing list