- Timestamp:
- Oct 9, 2024, 5:07:59 PM (2 weeks ago)
- Branches:
- master
- Children:
- 0766399
- Parents:
- 1b770e40
- Location:
- src/AST
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Node.hpp
r1b770e40 r16ba4897 161 161 } 162 162 } 163 if ( ! errors.isEmpty() ) { 164 throw errors; 165 } 163 errors.throwIfNonEmpty(); 166 164 } 167 165 -
src/AST/Pass.impl.hpp
r1b770e40 r16ba4897 250 250 } 251 251 pass_visitor_stats.depth--; 252 if ( !errors.isEmpty() ) { throw errors; }252 errors.throwIfNonEmpty(); 253 253 254 254 return new_kids; … … 287 287 __pedantic_pass_assert( new_kids.size() == container.size() ); 288 288 pass_visitor_stats.depth--; 289 if ( !errors.isEmpty() ) { throw errors; }289 errors.throwIfNonEmpty(); 290 290 291 291 return ast::__pass::resultN<container_t, node_t>{ mutated, new_kids }; … … 401 401 } 402 402 pass_visitor_stats.depth--; 403 if ( !errors.isEmpty() ) { throw errors; }403 errors.throwIfNonEmpty(); 404 404 } 405 405
Note: See TracChangeset
for help on using the changeset viewer.