[all-commits] [llvm/llvm-project] 73ad78: default clause replaced by otherwise clause for me...

Urvi Rav via All-commits all-commits at lists.llvm.org
Fri Feb 21 02:11:28 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 73ad78cc57e10b932bddaa9034237f59bb566e6b
      https://github.com/llvm/llvm-project/commit/73ad78cc57e10b932bddaa9034237f59bb566e6b
  Author: Urvi Rav <94829943+ravurvi20 at users.noreply.github.com>
  Date:   2025-02-21 (Fri, 21 Feb 2025)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticParseKinds.td
    M clang/lib/Parse/ParseOpenMP.cpp
    M clang/test/OpenMP/metadirective_messages.cpp

  Log Message:
  -----------
  default clause replaced by otherwise clause for metadirective in OpenMP 5.2 (#125648)

This PR replaces the `default` clause with the `otherwise` clause for
the `metadirective` in OpenMP. The `otherwise` clause serves as a
fallback condition when no directive from the `when` clauses is
selected. In the `when` clause, context selectors define traits
evaluated to determine the directive to be applied.



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