Changeset 3e54399 for src/AST/Decl.hpp


Ignore:
Timestamp:
Mar 10, 2022, 2:03:43 AM (2 years ago)
Author:
JiadaL <j82liang@…>
Branches:
ADT, ast-experimental, enum, master, pthread-emulation, qualifiedEnum
Children:
f238fcc2
Parents:
786c438
Message:

The compiler now will add a cast to base type for the usage of type enum; but it will fail because of violating some restrictions for the auto-gen functions. Need to investiage more

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Decl.hpp

    r786c438 r3e54399  
    302302class EnumDecl final : public AggregateDecl {
    303303public:
    304         Type * base;
     304        ptr<Type> base;
    305305
    306306        EnumDecl( const CodeLocation& loc, const std::string& name,
Note: See TracChangeset for help on using the changeset viewer.