[all-commits] [llvm/llvm-project] 85da17: [flang] Enumeration Type: (PR 1/5) Foundation type...

kwyatt-ext via All-commits all-commits at lists.llvm.org
Mon Jun 8 10:38:14 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 85da175778b7ebaeb7e5a4b8275060e5a17b62c6
      https://github.com/llvm/llvm-project/commit/85da175778b7ebaeb7e5a4b8275060e5a17b62c6
  Author: kwyatt-ext <kwyatt.external at hpe.com>
  Date:   2026-06-08 (Mon, 08 Jun 2026)

  Changed paths:
    M flang/include/flang/Parser/dump-parse-tree.h
    M flang/include/flang/Parser/parse-tree.h
    M flang/include/flang/Semantics/symbol.h
    M flang/include/flang/Semantics/tools.h
    M flang/include/flang/Semantics/type.h
    M flang/lib/Evaluate/type.cpp
    M flang/lib/Lower/ConvertType.cpp
    M flang/lib/Parser/Fortran-parsers.cpp
    M flang/lib/Parser/program-parsers.cpp
    M flang/lib/Parser/unparse.cpp
    M flang/lib/Semantics/resolve-names.cpp
    M flang/lib/Semantics/symbol.cpp
    M flang/lib/Semantics/tools.cpp
    M flang/lib/Semantics/type.cpp
    A flang/test/Parser/enumeration-type.f90

  Log Message:
  -----------
  [flang] Enumeration Type: (PR 1/5) Foundation types + Parser (#192651)

This PR creates the concept of an ENUMERATION TYPE from the Fortran 2023
Standard. It is implemented as a special case of a Derived Type
internally to the compiler. It adds the parse/unparse support. The
compiler will be able to recognize the syntax of an ENUMERATION TYPE and
report to users that the feature is not yet implemented.

It is the 1st of 5 stacked PRs.

AI Usage Disclosure: AI tools (Claude Opus 4.6) were used to assist with
implementation of this feature and test code generation. I have
reviewed, modified, and tested all AI-generated code.

---------

Co-authored-by: Kevin Wyatt <kwyatt at hpe.com>



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