Changeset 525f7ad for src/AST/Pass.hpp


Ignore:
Timestamp:
Jun 19, 2024, 3:20:39 PM (4 weeks ago)
Author:
JiadaL <j82liang@…>
Branches:
master
Children:
57e43cd
Parents:
1725989
Message:
  1. Add count_e( enum_name ), a pseudo function that return the number of element in an enum; 2. Implementation of enum range loop.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Pass.hpp

    r1725989 r525f7ad  
    172172        const ast::Expr *             visit( const ast::ConstantExpr         * ) override final;
    173173        const ast::Expr *             visit( const ast::SizeofExpr           * ) override final;
     174        const ast::Expr *             visit( const ast::CountExpr            * ) override final;
    174175        const ast::Expr *             visit( const ast::AlignofExpr          * ) override final;
    175176        const ast::Expr *             visit( const ast::UntypedOffsetofExpr  * ) override final;
Note: See TracChangeset for help on using the changeset viewer.