Changeset 490ff5c3 for src/SymTab
- Timestamp:
- Feb 14, 2018, 1:54:14 PM (7 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:
- 44b4114
- Parents:
- 54c9000
- git-author:
- Rob Schluntz <rschlunt@…> (02/14/18 12:00:25)
- git-committer:
- Rob Schluntz <rschlunt@…> (02/14/18 13:54:14)
- Location:
- src/SymTab
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SymTab/Indexer.cc
r54c9000 r490ff5c3 434 434 } 435 435 } else { 436 // Check that a Cforall declaration doesn't over loadany C declaration436 // Check that a Cforall declaration doesn't override any C declaration 437 437 if ( hasCompatibleCDecl( name, mangleName, scope ) ) { 438 438 throw SemanticError( "Cforall declaration hides C function ", decl ); … … 654 654 655 655 void Indexer::print( std::ostream &os, int indent ) const { 656 656 using std::cerr; 657 657 658 658 if ( tables ) { -
src/SymTab/Indexer.h
r54c9000 r490ff5c3 40 40 41 41 struct IdData { 42 DeclarationWithType * id; 43 Expression * baseExpr; // WithExpr 42 DeclarationWithType * id = nullptr; 43 Expression * baseExpr = nullptr; // WithExpr 44 45 /// non-null if this declaration is deleted 46 BaseSyntaxNode * deleteStmt = nullptr; 44 47 45 48 Expression * combine() const;
Note: See TracChangeset
for help on using the changeset viewer.