Skip to content

Attribute enum_extensibility(closed) is dumped into wrong position. #93

@giulianobelinassi

Description

@giulianobelinassi

Found by @5c4la4

enum MHD_Result {
    MHD_NO = 0,
    MHD_YES = 1
}__attribute__((enum_extensibility(closed)));

enum MHD_Result f() {
    return MHD_NO;
}

Here the __attribute__((enum_extensibility(closed))) is dumped into an incorrect location. This is a bug in LLVM AST dumper.

Metadata

Metadata

Assignees

No one assigned

    Labels

    LLVM bugBug residing in LLVM that affects clang-extractbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions