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

kwyatt-ext via All-commits all-commits at lists.llvm.org
Tue Jun 9 10:47:56 PDT 2026


  Branch: refs/heads/users/kwyatt-ext/enum-sem-2
  Home:   https://github.com/llvm/llvm-project
  Commit: 176b77cdddcf1dc7f66d0c3869a87cbadb9e91ce
      https://github.com/llvm/llvm-project/commit/176b77cdddcf1dc7f66d0c3869a87cbadb9e91ce
  Author: Kevin Wyatt <kwyatt at hpe.com>
  Date:   2026-06-09 (Tue, 09 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: ab3f77ff7e89cae41a531bc31da3766424cdfafa
      https://github.com/llvm/llvm-project/commit/ab3f77ff7e89cae41a531bc31da3766424cdfafa
  Author: Kevin Wyatt <kwyatt at hpe.com>
  Date:   2026-06-09 (Tue, 09 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/861ebcadcf87...ab3f77ff7e89

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