[all-commits] [llvm/llvm-project] 044e1a: [flang][OpenMP] move omp end sections validation t...

Tom Eccles via All-commits all-commits at lists.llvm.org
Tue Aug 26 03:46:17 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 044e1aabbd4b92a2e05a52e9a1630c2fe548d358
      https://github.com/llvm/llvm-project/commit/044e1aabbd4b92a2e05a52e9a1630c2fe548d358
  Author: Tom Eccles <tom.eccles at arm.com>
  Date:   2025-08-26 (Tue, 26 Aug 2025)

  Changed paths:
    M flang/include/flang/Parser/parse-tree.h
    M flang/lib/Lower/OpenMP/OpenMP.cpp
    M flang/lib/Parser/openmp-parsers.cpp
    M flang/lib/Parser/unparse.cpp
    M flang/lib/Semantics/check-omp-structure.cpp
    M flang/test/Semantics/OpenMP/missing-end-directive.f90

  Log Message:
  -----------
  [flang][OpenMP] move omp end sections validation to semantics (#154740)

See #90452. The old parse tree errors exploded to thousands of unhelpful
lines when there were multiple missing end directives.

Instead, allow a missing end directive in the parse tree then validate
that it is present during semantics (where the error messages are a lot
easier to control).



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