Changeset 2a301ff for src/AST/SymbolTable.cpp
- Timestamp:
- Aug 31, 2023, 11:31:15 PM (2 years ago)
- Branches:
- master
- Children:
- 950c58e
- Parents:
- 92355883 (diff), 686912c (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
r92355883 r2a301ff 19 19 20 20 #include "Copy.hpp" 21 #include <iostream>22 #include <algorithm>23 24 21 #include "Decl.hpp" 25 22 #include "Expr.hpp" … … 206 203 out.push_back(decl.second); 207 204 } 208 209 // std::cerr << otypeKey << ' ' << out.size() << std::endl;210 205 } 211 206 … … 328 323 } 329 324 330 void SymbolTable::addStruct ( const std::string &id ) {325 void SymbolTable::addStructId( const std::string &id ) { 331 326 addStruct( new StructDecl( CodeLocation(), id ) ); 332 327 } … … 370 365 } 371 366 372 void SymbolTable::addUnion ( const std::string &id ) {367 void SymbolTable::addUnionId( const std::string &id ) { 373 368 addUnion( new UnionDecl( CodeLocation(), id ) ); 374 369 }
Note:
See TracChangeset
for help on using the changeset viewer.