[all-commits] [llvm/llvm-project] 0f2fc0: [Flang][OpenMP] Reject invalid AFFINITY locators i...

Chi-Chun, Chen via All-commits all-commits at lists.llvm.org
Thu Mar 5 09:06:25 PST 2026


  Branch: refs/heads/users/cchen/affinity_clause_semantic_check
  Home:   https://github.com/llvm/llvm-project
  Commit: 0f2fc0e3e48a3211cc8017de18d74b99f8e4c3ad
      https://github.com/llvm/llvm-project/commit/0f2fc0e3e48a3211cc8017de18d74b99f8e4c3ad
  Author: Chi Chun, Chen <chichun.chen at hpe.com>
  Date:   2026-03-05 (Thu, 05 Mar 2026)

  Changed paths:
    M flang/lib/Semantics/check-omp-structure.cpp
    A flang/test/Semantics/OpenMP/affinity-invalid.f90

  Log Message:
  -----------
  [Flang][OpenMP] Reject invalid AFFINITY locators in semantics

Add semantic checks for OpenMP AFFINITY clauses to reject
substring designators and structure components, including
iterator forms.


  Commit: 3e3977461b6c9916cdb0a153c741666f784555b2
      https://github.com/llvm/llvm-project/commit/3e3977461b6c9916cdb0a153c741666f784555b2
  Author: Chi Chun, Chen <chichun.chen at hpe.com>
  Date:   2026-03-05 (Thu, 05 Mar 2026)

  Changed paths:
    M flang/lib/Semantics/check-omp-structure.cpp
    M flang/lib/Semantics/check-omp-structure.h
    M flang/test/Semantics/OpenMP/affinity-invalid.f90

  Log Message:
  -----------
  Modify semantic check for affinity clause

- Add CheckLastPartRef
- Add CheckArraySection
- Add comment why we still need check for substring even if
  CheckArraySection is called


Compare: https://github.com/llvm/llvm-project/compare/80df474e2d99...3e3977461b6c

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