Changeset 8b4faf6


Ignore:
Timestamp:
Jan 3, 2024, 4:52:41 PM (12 months ago)
Author:
JiadaL <j82liang@…>
Branches:
master
Children:
59c8dff, 681e12f
Parents:
58c5821
Message:

Hoist nested enum in Struct

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Validate/HoistStruct.cpp

    r58c5821 r8b4faf6  
    3030        return dynamic_cast< ast::StructDecl const * >( decl )
    3131                || dynamic_cast< ast::UnionDecl const * >( decl )
     32                || dynamic_cast< ast::EnumDecl const * >( decl )
    3233                || dynamic_cast< ast::StaticAssertDecl const * >( decl );
    3334}
Note: See TracChangeset for help on using the changeset viewer.