Changeset bcef6c8 for src/SymTab
- Timestamp:
- Feb 21, 2018, 12:56:00 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- eaa1759
- Parents:
- 6c7c63c (diff), 599fbb6 (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. - Location:
- src/SymTab
- Files:
-
- 2 edited
-
Indexer.cc (modified) (1 diff)
-
Indexer.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/SymTab/Indexer.cc
r6c7c63c rbcef6c8 457 457 458 458 // add to indexer 459 tables->idTable[ name ][ mangleName ] = { decl, baseExpr, deleteStmt };459 tables->idTable[ name ][ mangleName ] = IdData{ decl, baseExpr, deleteStmt }; 460 460 ++tables->size; 461 461 } -
src/SymTab/Indexer.h
r6c7c63c rbcef6c8 46 46 /// non-null if this declaration is deleted 47 47 BaseSyntaxNode * deleteStmt = nullptr; 48 49 // NOTE: shouldn't need either of these constructors, but gcc-4 does not properly support initializer lists with default members. 50 IdData() = default; 51 IdData( DeclarationWithType * id, Expression * baseExpr, BaseSyntaxNode * deleteStmt ) : id( id ), baseExpr( baseExpr ), deleteStmt( deleteStmt ) {} 48 52 49 53 Expression * combine() const;
Note:
See TracChangeset
for help on using the changeset viewer.