[all-commits] [llvm/llvm-project] 35e743: default clause replaced by otherwise clause for me...
Urvi Rav via All-commits
all-commits at lists.llvm.org
Thu May 1 22:00:18 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 35e743d4bf1960a9ea982227a6159325784c56b9
https://github.com/llvm/llvm-project/commit/35e743d4bf1960a9ea982227a6159325784c56b9
Author: Urvi Rav <94829943+ravurvi20 at users.noreply.github.com>
Date: 2025-05-02 (Fri, 02 May 2025)
Changed paths:
M clang/docs/OpenMPSupport.rst
M clang/include/clang/Basic/DiagnosticParseKinds.td
M clang/lib/Parse/ParseOpenMP.cpp
M clang/test/OpenMP/metadirective_ast_print.c
A clang/test/OpenMP/metadirective_default.cpp
M clang/test/OpenMP/metadirective_messages.cpp
M clang/test/OpenMP/metadirective_otherwise.cpp
Log Message:
-----------
default clause replaced by otherwise clause for metadirective in OpenMP 5.2 (#128640)
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.
The previous merge was reverted due to a failing test case, which has
now been resolved.
---------
Co-authored-by: urvi-rav <urvi.rav at hpe.com>
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