Changeset 16ba4897 for src/Validate
- Timestamp:
- Oct 9, 2024, 5:07:59 PM (3 months ago)
- Branches:
- master
- Children:
- 0766399
- Parents:
- 1b770e40
- Location:
- src/Validate
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Validate/CheckAssertions.cpp
r1b770e40 r16ba4897 60 60 makeTypeVarMap( decl, typeVars ); 61 61 checkList( typeVars, errors, decl->assertions ); 62 if ( !errors.isEmpty() ) { throw errors; }62 errors.throwIfNonEmpty(); 63 63 } 64 64 … … 72 72 } 73 73 if ( checkMembers ) checkList( typeVars, errors, decl->members ); 74 if ( !errors.isEmpty() ) { throw errors; }74 errors.throwIfNonEmpty(); 75 75 } 76 76 -
src/Validate/ReplaceTypedef.cpp
r1b770e40 r16ba4897 327 327 assert( declsToAddBefore.empty() ); 328 328 assert( declsToAddAfter.empty() ); 329 if ( !errors.isEmpty() ) { throw errors; }329 errors.throwIfNonEmpty(); 330 330 331 331 mut->members.clear();
Note: See TracChangeset
for help on using the changeset viewer.