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

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


  Branch: refs/heads/users/tblah/openmp-parse-errors-2
  Home:   https://github.com/llvm/llvm-project
  Commit: 30478db29c5e71a0bf09267514e1bfe44728ce3c
      https://github.com/llvm/llvm-project/commit/30478db29c5e71a0bf09267514e1bfe44728ce3c
  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

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).


  Commit: 1e7b5e40e1c883d5200f58ac04aa79b603bb2d17
      https://github.com/llvm/llvm-project/commit/1e7b5e40e1c883d5200f58ac04aa79b603bb2d17
  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

  Log Message:
  -----------
  Fix typo


Compare: https://github.com/llvm/llvm-project/compare/245ecd1984c8...1e7b5e40e1c8

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