Changeset 16ba4a6 for src/InitTweak/InitTweak.h
- Timestamp:
- Nov 10, 2020, 12:20:37 AM (3 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/InitTweak/InitTweak.h
r3febb2d r16ba4a6 59 59 /// True if the Initializer contains designations 60 60 bool isDesignated( Initializer * init ); 61 bool isDesignated( const ast::Init * init ); 61 62 62 63 /// True if the ObjectDecl's Initializer nesting level is not deeper than the depth of its 63 64 /// type, where the depth of its type is the number of nested ArrayTypes + 1 64 65 bool checkInitDepth( ObjectDecl * objDecl ); 66 bool checkInitDepth( const ast::ObjectDecl * objDecl ); 65 67 66 68 /// returns the declaration of the function called by the expr (must be ApplicationExpr or UntypedExpr) … … 107 109 bool isConstExpr( Expression * expr ); 108 110 bool isConstExpr( Initializer * init ); 111 112 bool isConstExpr( const ast::Expr * expr ); 113 bool isConstExpr( const ast::Init * init ); 109 114 110 115 /// Modifies objDecl to have:
Note: See TracChangeset
for help on using the changeset viewer.