[clang] [OpenCL] Add missing OpenCL 3.0 features to OpenCLExtensions.def; revert header-only macros (PR #168016)

Wenju He via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 19 02:22:19 PST 2025


================
@@ -234,6 +234,11 @@ C23 Feature Support
 
 Non-comprehensive list of changes in this release
 -------------------------------------------------
+- Removed OpenCL header-only feature macros (previously unconditionally enabled
+  on SPIR-V and only selectively disabled via -D__undef_<feature>). All OpenCL
+  extensions and features are now centralized in OpenCLExtensions.def, allowing
+  consistent control via getSupportedOpenCLOpts and -cl-ext.
----------------
wenju-he wrote:

done

https://github.com/llvm/llvm-project/pull/168016


More information about the cfe-commits mailing list