[PATCH] D141297: [OpenCL] Allow undefining header-only features
Anastasia Stulova via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 11 04:36:35 PST 2023
Anastasia accepted this revision.
Anastasia added a comment.
This revision is now accepted and ready to land.
LGTM, thanks!
Btw I wonder if in the future we could add some error or warning in case someone uses the same approach for frontend specific features, i.e.
#ifdef __undef___opencl_c_generic_address_space
#error "Feature __opencl_c_generic_address_space can only be disabled via -cl-ext flag"
#endif
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D141297/new/
https://reviews.llvm.org/D141297
More information about the cfe-commits
mailing list