Changeset df6cc9d for src/AST/SymbolTable.cpp
- Timestamp:
- Oct 19, 2022, 4:43:26 PM (3 years ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- 1a45263
- Parents:
- 9cd5bd2 (diff), 135143ba (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/AST/SymbolTable.cpp
r9cd5bd2 rdf6cc9d 20 20 #include "Decl.hpp" 21 21 #include "Expr.hpp" 22 #include "Inspect.hpp" 22 23 #include "Type.hpp" 23 24 #include "CodeGen/OperatorTable.h" // for isCtorDtorAssign … … 315 316 316 317 void SymbolTable::addStruct( const std::string &id ) { 317 addStruct( new StructDecl( CodeLocation {}, id ) );318 addStruct( new StructDecl( CodeLocation(), id ) ); 318 319 } 319 320 … … 357 358 358 359 void SymbolTable::addUnion( const std::string &id ) { 359 addUnion( new UnionDecl( CodeLocation {}, id ) );360 addUnion( new UnionDecl( CodeLocation(), id ) ); 360 361 } 361 362 … … 466 467 assert( ! params.empty() ); 467 468 // use base type of pointer, so that qualifiers on the pointer type aren't considered. 468 const Type * base = InitTweak::getPointerBase( params.front() );469 const Type * base = ast::getPointerBase( params.front() ); 469 470 assert( base ); 470 471 if (stripParams) {
Note:
See TracChangeset
for help on using the changeset viewer.