[all-commits] [llvm/llvm-project] 45d99c: [clang][OpenMP] In 6.0, can omit length in array s...

David Pagan via All-commits all-commits at lists.llvm.org
Wed Jul 23 10:54:00 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 45d99c26c3513945a454e90b69d48257886f8284
      https://github.com/llvm/llvm-project/commit/45d99c26c3513945a454e90b69d48257886f8284
  Author: David Pagan <dave.pagan at amd.com>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M clang/docs/OpenMPSupport.rst
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaOpenMP.cpp
    A clang/test/OpenMP/target_map_array_section_no_length_codegen.cpp
    M clang/test/OpenMP/target_map_messages.cpp

  Log Message:
  -----------
  [clang][OpenMP] In 6.0, can omit length in array section (#148048)

In OpenMP 6.0 specification, section 5.2.5 Array Sections, page 166,
lines 28-28:

When the length is absent and the size of the dimension is not known,
the array section is an assumed-size array.

Testing
- Updated LIT test
- check-all
- OpenMP_VV (formerly sollve) test case
tests/6.0/target/test_target_assumed_array_size.c



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