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

Tom Eccles via flang-commits flang-commits at lists.llvm.org
Tue Jun 3 06:49:47 PDT 2025


tblah wrote:

> 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`.

+1 but we decided not to that in this patch because there's no version check for the other deprecation warnings. Would it be okay to fix those in a separate patch?

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


More information about the flang-commits mailing list