[clang] [OpenCL] Add missing OpenCL 3.0 features to OpenCLExtensions.def; revert header-only macros (PR #168016)
Sven van Haastregt via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 19 01:50:47 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.
----------------
svenvh wrote:
```suggestion
consistent control via ``getSupportedOpenCLOpts`` and ``-cl-ext``.
```
https://github.com/llvm/llvm-project/pull/168016
More information about the cfe-commits
mailing list