Ignore:
Timestamp:
Sep 21, 2023, 10:15:37 PM (12 months ago)
Author:
JiadaL <j82liang@…>
Branches:
master
Children:
deda7e6
Parents:
01510fe
Message:

Fix designator value in enumerated array and implemented enumerated array with inlined enume declaration

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/ResolveTypeof.h

    r01510fe rc1e66d9  
    1717
    1818class Type;
     19class ListInit;
    1920namespace SymTab {
    2021class Indexer;
     
    2223namespace ast {
    2324        class Type;
     25        class ListInit;
    2426        class ObjectDecl;
    2527}
     
    2830        struct ResolveContext;
    2931
    30         Type *resolveTypeof( Type*, const SymTab::Indexer &indexer );
     32        Type *resolveTypeof( Type *, const SymTab::Indexer &indexer );
    3133        const ast::Type * resolveTypeof( const ast::Type *, const ResolveContext & );
    32         const ast::Type * fixArrayType( const ast::Type *, const ResolveContext & );
     34        const ast::Type * fixArrayType( const ast::Type *, const ResolveContext &, const ast::ListInit * );
     35        const ast::Type * fixEnumeratedArray( const ast::Type *, const ResolveContext & );
    3336        const ast::ObjectDecl * fixObjectType( const ast::ObjectDecl * decl , const ResolveContext & );
    34         const ast::ObjectDecl * fixObjectInit( const ast::ObjectDecl * decl , const ResolveContext &);
     37        const ast::ObjectDecl * fixObjectInit( const ast::ObjectDecl * decl , const ResolveContext & );
    3538} // namespace ResolvExpr
    3639
Note: See TracChangeset for help on using the changeset viewer.