[flang-commits] [flang] [Flang][OpenMP] Deprecate Allocate Directive (PR #142378)

Krzysztof Parzyszek via flang-commits flang-commits at lists.llvm.org
Tue Jun 3 05:36:54 PDT 2025


https://github.com/kparzysz commented:

This looks good, thanks.  Could you add a version check, and only emit the warning when the OpenMP version is >= 52?  You can get the version from SemanticsContext:
`context_.langOptions().OpenMPVersion`.

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


More information about the flang-commits mailing list