[PATCH] D137652: Remove mandatory define of optional features macros for OpenCL C 3.0

Sven van Haastregt via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 29 09:46:33 PST 2022


svenvh added a comment.

> @svenvh I remember that we have also discussed the addition of a vendor specific header where such feature/extension macro definition can be added to avoid the macro pollution but I feel this is somewhat orthogonal i.e. the fine grained control of macro defines is still needed?

Unfortunately I don't remember the details of that discussion, but I agree that it's worth looking into a solution for issue #55674, using e.g. `__undef` macros as you described above.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D137652/new/

https://reviews.llvm.org/D137652



More information about the cfe-commits mailing list