Changes in / [bcef6c8:6c7c63c]
- Location:
- src
- Files:
-
- 3 edited
-
Common/PassVisitor.impl.h (modified) (3 diffs)
-
SymTab/Indexer.cc (modified) (1 diff)
-
SymTab/Indexer.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/Common/PassVisitor.impl.h
rbcef6c8 r6c7c63c 1121 1121 template< typename pass_type > 1122 1122 void PassVisitor< pass_type >::visit( ImplicitCtorDtorStmt * node ) { 1123 VISIT_START( node ); 1124 1125 maybeAccept_impl( node->callStmt, *this ); 1126 1127 VISIT_END( node ); 1123 VISIT_BODY( node ); 1128 1124 } 1129 1125 1130 1126 template< typename pass_type > 1131 1127 Statement * PassVisitor< pass_type >::mutate( ImplicitCtorDtorStmt * node ) { 1132 MUTATE_START( node ); 1133 1134 maybeMutate_impl( node->callStmt, *this ); 1135 1136 MUTATE_END( Statement, node ); 1128 MUTATE_BODY( Statement, node ); 1137 1129 } 1138 1130 … … 2016 2008 template< typename pass_type > 2017 2009 void PassVisitor< pass_type >::visit( VoidType * node ) { 2018 VISIT_START( node ); 2019 2020 maybeAccept_impl( node->forall, *this ); 2021 2022 VISIT_END( node ); 2023 } 2024 2025 template< typename pass_type > 2026 Type * PassVisitor< pass_type >::mutate( VoidType * node ) { 2027 MUTATE_START( node ); 2028 2029 maybeMutate_impl( node->forall, *this ); 2030 2031 MUTATE_END( Type, node ); 2010 VISIT_BODY( node ); 2032 2011 } 2033 2012 … … 2256 2235 2257 2236 //--------------------------------------------------------------------------------------------------------------- 2237 template< typename pass_type > 2238 Type * PassVisitor< pass_type >::mutate( VoidType * node ) { 2239 MUTATE_BODY( Type, node ); 2240 } 2258 2241 2259 2242 template< typename pass_type > -
src/SymTab/Indexer.cc
rbcef6c8 r6c7c63c 457 457 458 458 // add to indexer 459 tables->idTable[ name ][ mangleName ] = IdData{ decl, baseExpr, deleteStmt };459 tables->idTable[ name ][ mangleName ] = { decl, baseExpr, deleteStmt }; 460 460 ++tables->size; 461 461 } -
src/SymTab/Indexer.h
rbcef6c8 r6c7c63c 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 ) {}52 48 53 49 Expression * combine() const;
Note:
See TracChangeset
for help on using the changeset viewer.