[clang] [clang] Add isOffloadingTarget function to LangOpts (PR #126956)

Nick Sarnie via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 6 07:17:52 PST 2025


sarnex wrote:

> The target isn't part of the language, why is it in LangOpts?

If you have a better suggestion I'm all areas, we seem to already have similar stuff in `LangOpts` such as `OMPTargetTriples`, `OMPHostIRFile`, `GPUDefaultStream`, and `CUID`.

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


More information about the cfe-commits mailing list