Changes in src/AST/Util.cpp [90e683b:f5dbc8d]
- File:
-
- 1 edited
-
src/AST/Util.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Util.cpp
r90e683b rf5dbc8d 85 85 // Check that `type->returns` corresponds with `decl->returns`. 86 86 assert( type->returns.size() == decl->returns.size() ); 87 }88 89 /// Check that an enumeration has not been made with an inconsistent spec.90 void isEnumerationConsistent( const EnumDecl * node ) {91 if ( node->is_c_enum() ) {92 assert( nullptr == node->base );93 }94 87 } 95 88 … … 142 135 previsit( (const ParseNode *)node ); 143 136 functionDeclMatchesType( node ); 144 }145 146 void previsit( const EnumDecl * node ) {147 previsit( (const ParseNode *)node );148 isEnumerationConsistent( node );149 137 } 150 138
Note:
See TracChangeset
for help on using the changeset viewer.