- Timestamp:
- Oct 3, 2022, 1:46:49 PM (2 years ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- 890f67a
- Parents:
- c02cef1
- Location:
- src/AST
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/SymbolTable.cpp
rc02cef1 r4b8b2a4 316 316 317 317 void SymbolTable::addStruct( const std::string &id ) { 318 addStruct( new StructDecl( CodeLocation {}, id ) );318 addStruct( new StructDecl( CodeLocation(), id ) ); 319 319 } 320 320 … … 358 358 359 359 void SymbolTable::addUnion( const std::string &id ) { 360 addUnion( new UnionDecl( CodeLocation {}, id ) );360 addUnion( new UnionDecl( CodeLocation(), id ) ); 361 361 } 362 362 -
src/AST/Type.cpp
rc02cef1 r4b8b2a4 176 176 for ( const Type * ty : types ) { 177 177 members.emplace_back( new ObjectDecl{ 178 CodeLocation {}, "", ty, new ListInit( CodeLocation{}, {}, {}, NoConstruct ),178 CodeLocation(), "", ty, new ListInit( CodeLocation(), {}, {}, NoConstruct ), 179 179 Storage::Classes{}, Linkage::Cforall } ); 180 180 }
Note: See TracChangeset
for help on using the changeset viewer.