Changeset d6c464d


Ignore:
Timestamp:
May 17, 2023, 1:36:28 AM (18 months ago)
Author:
JiadaL <j82liang@…>
Branches:
ADT
Children:
f4e01f1
Parents:
561354f
Message:

reset enum's autogen as non adt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Validate/Autogen.cpp

    r561354f rd6c464d  
    195195        }
    196196
    197         bool shouldAutogen() const final { return !(decl->isData); }
     197        bool shouldAutogen() const final { return true; }
    198198private:
    199199        void genFuncBody( ast::FunctionDecl * decl ) final;
Note: See TracChangeset for help on using the changeset viewer.