Changeset 1e30df7 for src/AST/Decl.hpp


Ignore:
Timestamp:
Oct 18, 2022, 5:48:13 PM (2 years ago)
Author:
JiadaL <j82liang@…>
Branches:
ADT, ast-experimental, master
Children:
5408b59
Parents:
a55472cc
Message:

Supports inline enums

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Decl.hpp

    ra55472cc r1e30df7  
    105105        ptr<Init> init;
    106106        ptr<Expr> bitfieldWidth;
     107        bool enumInLine = false; // A flag vairable to tell the compile:
     108        // this is not a real object declaration. It is a place holder for
     109        // a set of enum value (ObjectDecl).
    107110
    108111        ObjectDecl( const CodeLocation & loc, const std::string & name, const Type * type,
Note: See TracChangeset for help on using the changeset viewer.