Skip to content

[CIR] Upstream enum support #136055

@andykaylor

Description

@andykaylor

Overview

Upstream support for enum types. This is mostly handled by the AST builder. We just need to handle the decl type.

Suggested minimal test case

enum A {
  A_one,
  A_two
};
A a;

Existing incubator tests

One test case in basic.cpp

Metadata

Metadata

Assignees

No one assigned

    Labels

    ClangIRAnything related to the ClangIR projectgood first issuehttps://github.com/llvm/llvm-project/contribute

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions