Ignore:
Timestamp:
Aug 31, 2023, 11:31:15 PM (2 years ago)
Author:
JiadaL <j82liang@…>
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.
Message:

Resolve conflict

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/SymbolTable.cpp

    r92355883 r2a301ff  
    1919
    2020#include "Copy.hpp"
    21 #include <iostream>
    22 #include <algorithm>
    23 
    2421#include "Decl.hpp"
    2522#include "Expr.hpp"
     
    206203                        out.push_back(decl.second);
    207204                }
    208 
    209                 // std::cerr << otypeKey << ' ' << out.size() << std::endl;
    210205        }
    211206
     
    328323}
    329324
    330 void SymbolTable::addStruct( const std::string &id ) {
     325void SymbolTable::addStructId( const std::string &id ) {
    331326        addStruct( new StructDecl( CodeLocation(), id ) );
    332327}
     
    370365}
    371366
    372 void SymbolTable::addUnion( const std::string &id ) {
     367void SymbolTable::addUnionId( const std::string &id ) {
    373368        addUnion( new UnionDecl( CodeLocation(), id ) );
    374369}
Note: See TracChangeset for help on using the changeset viewer.