[all-commits] [llvm/llvm-project] 71c322: Enumeration Type Sem-2: Name Resolution + Expressi...

kwyatt-ext via All-commits all-commits at lists.llvm.org
Wed Jun 10 08:25:24 PDT 2026


  Branch: refs/heads/users/kwyatt-ext/enum-sem-2
  Home:   https://github.com/llvm/llvm-project
  Commit: 71c3222d0c1ccb893aabfd7cbf74c813cd452f41
      https://github.com/llvm/llvm-project/commit/71c3222d0c1ccb893aabfd7cbf74c813cd452f41
  Author: Kevin Wyatt <kwyatt at hpe.com>
  Date:   2026-06-10 (Wed, 10 Jun 2026)

  Changed paths:
    M flang/include/flang/Semantics/expression.h
    M flang/lib/Evaluate/formatting.cpp
    M flang/lib/Evaluate/tools.cpp
    M flang/lib/Semantics/check-case.cpp
    M flang/lib/Semantics/check-declarations.cpp
    M flang/lib/Semantics/expression.cpp
    M flang/lib/Semantics/resolve-labels.cpp
    M flang/lib/Semantics/resolve-names.cpp
    M flang/lib/Semantics/rewrite-parse-tree.cpp
    M flang/lib/Semantics/tools.cpp
    M flang/test/Semantics/case01.f90

  Log Message:
  -----------
  Enumeration Type Sem-2: Name Resolution + Expression + Relational + SELECT CASE (PRs 3-5)

Adds name resolution for ENUMERATION TYPE (replacing the 'not yet
implemented' stub), expression analysis for enumeration constructors
with __ordinal component, relational operator support, and SELECT CASE
support.

Includes PR9 bug fixes: scope()->GetScope() in expression.cpp, and
Relate() INT() wrapping for non-constant enum comparisons in
evaluate/tools.cpp.

Files from original PRs 3-5 plus targeted fixes from PR 9.


  Commit: d704a6ef5f9001e226709e2b5535dfbe08e768d8
      https://github.com/llvm/llvm-project/commit/d704a6ef5f9001e226709e2b5535dfbe08e768d8
  Author: Kevin Wyatt <kwyatt at hpe.com>
  Date:   2026-06-10 (Wed, 10 Jun 2026)

  Changed paths:
    M flang/lib/Evaluate/fold-integer.cpp
    M flang/lib/Semantics/resolve-names.cpp
    A flang/test/Semantics/enumeration-type-declarations.f90
    A flang/test/Semantics/enumeration-type-relational.f90

  Log Message:
  -----------
  Adding tests and intrinsic piece required for relationals.


Compare: https://github.com/llvm/llvm-project/compare/ab3f77ff7e89...d704a6ef5f90

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