[all-commits] [llvm/llvm-project] 5ad103: [clang][OpenMP] Issue a warning when parsing futur...

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Thu Jul 3 10:37:23 PDT 2025


  Branch: refs/heads/users/kparzysz/spr/d03-check-version
  Home:   https://github.com/llvm/llvm-project
  Commit: 5ad103e08e8a06cfc3708ba83601e073a022bb7e
      https://github.com/llvm/llvm-project/commit/5ad103e08e8a06cfc3708ba83601e073a022bb7e
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2025-07-03 (Thu, 03 Jul 2025)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticGroups.td
    M clang/include/clang/Basic/DiagnosticParseKinds.td
    M clang/lib/Parse/ParseOpenMP.cpp
    A clang/test/OpenMP/openmp-6-future-spellings.cpp

  Log Message:
  -----------
  [clang][OpenMP] Issue a warning when parsing future directive spelling

OpenMP 6.0 introduced alternative spelling for some directives, with the
previous spellings still being allowed.

Warn the user when a new spelling is encountered with OpenMP version set
to an older value.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list