Ignore:
Timestamp:
Apr 19, 2022, 3:53:53 PM (2 years ago)
Author:
JiadaL <j82liang@…>
Branches:
ADT, ast-experimental, master, pthread-emulation, qualifiedEnum
Children:
2686bc7
Parents:
75cd27b
Message:

Replace the interface for EnumDecl? node construction to support generic enum types

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Convert.cpp

    r75cd27b r374cb117  
    27752775        }
    27762776
    2777         virtual void visit( const EnumInstType * old ) override final { // Here is visiting the EnumInst Decl not the usage.
     2777        virtual void visit( const EnumInstType * old ) override final {
    27782778                ast::EnumInstType * ty;
    27792779                if ( old->baseEnum ) {
    2780                         ty = new ast::EnumInstType{ // Probably here: missing the specification of the base
     2780                        ty = new ast::EnumInstType{
    27812781                                GET_ACCEPT_1( baseEnum, EnumDecl ),
    27822782                                cv( old ),
Note: See TracChangeset for help on using the changeset viewer.