Changes in src/AST/Decl.hpp [5408b59:b859f59]
- File:
-
- 1 edited
-
src/AST/Decl.hpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Decl.hpp
r5408b59 rb859f59 105 105 ptr<Init> init; 106 106 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 for109 // a set of enum value (ObjectDecl).110 107 111 108 ObjectDecl( const CodeLocation & loc, const std::string & name, const Type * type, … … 315 312 class EnumDecl final : public AggregateDecl { 316 313 public: 317 bool isTyped; // isTyped indicated if the enum has a declaration like: 318 // enum (type_optional) Name {...} 319 ptr<Type> base; // if isTyped == true && base.get() == nullptr, it is a "void" type enum 314 bool isTyped; 315 ptr<Type> base; 320 316 321 317 EnumDecl( const CodeLocation& loc, const std::string& name, bool isTyped = false,
Note:
See TracChangeset
for help on using the changeset viewer.