Changeset 1633e04 for src/InitTweak/FixInitNew.cpp
- Timestamp:
- Mar 24, 2023, 4:44:50 PM (2 years ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- 75d874a
- Parents:
- d30e3eb (diff), 056bee8 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/InitTweak/FixInitNew.cpp
rd30e3eb r1633e04 1303 1303 } 1304 1304 1305 template< typename Visitor, typename... Params >1306 void error( Visitor & v, CodeLocation loc, const Params &... params ) {1307 SemanticErrorException err( loc, toString( params... ) );1308 v.errors.append( err );1309 }1310 1311 1305 template< typename... Params > 1312 1306 void GenStructMemberCalls::emit( CodeLocation loc, const Params &... params ) { 1313 // toggle warnings vs. errors here. 1314 // warn( params... ); 1315 error( *this, loc, params... ); 1307 SemanticErrorException err( loc, toString( params... ) ); 1308 errors.append( err ); 1316 1309 } 1317 1310
Note:
See TracChangeset
for help on using the changeset viewer.