Ignore:
Timestamp:
Nov 10, 2020, 12:20:37 AM (3 years ago)
Author:
Fangren Yu <f37yu@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
18f0b70
Parents:
3febb2d
Message:

factor out resolver calls in pre-resolution stage

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/InitTweak/InitTweak.h

    r3febb2d r16ba4a6  
    5959        /// True if the Initializer contains designations
    6060        bool isDesignated( Initializer * init );
     61        bool isDesignated( const ast::Init * init );
    6162
    6263        /// True if the ObjectDecl's Initializer nesting level is not deeper than the depth of its
    6364        /// type, where the depth of its type is the number of nested ArrayTypes + 1
    6465        bool checkInitDepth( ObjectDecl * objDecl );
     66        bool checkInitDepth( const ast::ObjectDecl * objDecl );
    6567
    6668        /// returns the declaration of the function called by the expr (must be ApplicationExpr or UntypedExpr)
     
    107109        bool isConstExpr( Expression * expr );
    108110        bool isConstExpr( Initializer * init );
     111
     112        bool isConstExpr( const ast::Expr * expr );
     113        bool isConstExpr( const ast::Init * init );
    109114
    110115        /// Modifies objDecl to have:
Note: See TracChangeset for help on using the changeset viewer.