Changeset 293dc1c for src/ResolvExpr
- Timestamp:
- Nov 3, 2020, 4:06:20 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 4406887
- Parents:
- daefe93
- Location:
- src/ResolvExpr
- Files:
-
- 2 edited
-
Resolver.cc (modified) (1 diff)
-
Resolver.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/Resolver.cc
rdaefe93 r293dc1c 1274 1274 // size_t Resolver_new::traceId = Stats::Heap::new_stacktrace_id("Resolver"); 1275 1275 1276 void resolve( std::list< ast::ptr< ast::Decl > >& translationUnit ) {1276 void resolve( ast::TranslationUnit& translationUnit ) { 1277 1277 ast::Pass< Resolver_new >::run( translationUnit ); 1278 1278 } -
src/ResolvExpr/Resolver.h
rdaefe93 r293dc1c 35 35 class StmtExpr; 36 36 class SymbolTable; 37 class TranslationUnit; 37 38 class Type; 38 39 class TypeEnvironment; … … 55 56 56 57 /// Checks types and binds syntactic constructs to typed representations 57 void resolve( std::list< ast::ptr<ast::Decl> >& translationUnit );58 void resolve( ast::TranslationUnit& translationUnit ); 58 59 /// Searches expr and returns the first DeletedExpr found, otherwise nullptr 59 60 const ast::DeletedExpr * findDeletedExpr( const ast::Expr * expr ); … … 69 70 const ast::Expr * untyped, const ast::SymbolTable & symtab); 70 71 /// Resolves a constructor init expression 71 ast::ptr< ast::Init > resolveCtorInit( 72 ast::ptr< ast::Init > resolveCtorInit( 72 73 const ast::ConstructorInit * ctorInit, const ast::SymbolTable & symtab ); 73 74 /// Resolves a statement expression 74 ast::ptr< ast::Expr > resolveStmtExpr( 75 ast::ptr< ast::Expr > resolveStmtExpr( 75 76 const ast::StmtExpr * stmtExpr, const ast::SymbolTable & symtab ); 76 77 } // namespace ResolvExpr
Note:
See TracChangeset
for help on using the changeset viewer.