- Timestamp:
- May 11, 2022, 4:22:38 PM (3 years ago)
- Branches:
- ADT, ast-experimental, master, pthread-emulation, qualifiedEnum
- Children:
- 491bb81
- Parents:
- 3f681b1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/AST/Util.cpp ¶
r3f681b1 r7675f58 10 10 // Created On : Wed Jan 19 9:46:00 2022 11 11 // Last Modified By : Andrew Beach 12 // Last Modified On : Wed May 4 15:50:00 202213 // Update Count : 212 // Last Modified On : Wed May 11 16:16:00 2022 13 // Update Count : 3 14 14 // 15 15 … … 48 48 void isCodeLocationSet( const ParseNode * node ) { 49 49 assert( node->location.isSet() ); 50 } 51 52 void areLabelLocationsSet( const Stmt * stmt ) { 53 for ( const Label& label : stmt->labels ) { 54 assert( label.location.isSet() ); 55 } 50 56 } 51 57 … … 97 103 } 98 104 105 void previsit( const Stmt * node ) { 106 previsit( (const ParseNode *)node ); 107 areLabelLocationsSet( node ); 108 } 109 99 110 void postvisit( const Node * node ) { 100 111 no_strong_cycles.postvisit( node );
Note: See TracChangeset
for help on using the changeset viewer.