Changeset 8633f060 for src/Common
- Timestamp:
- Apr 19, 2018, 6:11: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, with_gc
- Children:
- 88f15ae
- Parents:
- c28afead (diff), b03eed6 (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/Common
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Common/PassVisitor.h
rc28afead r8633f060 92 92 virtual void visit( NameExpr * nameExpr ) override final; 93 93 virtual void visit( CastExpr * castExpr ) override final; 94 virtual void visit( KeywordCastExpr * castExpr ) override final; 94 95 virtual void visit( VirtualCastExpr * castExpr ) override final; 95 96 virtual void visit( AddressExpr * addressExpr ) override final; … … 187 188 virtual Expression * mutate( UntypedExpr * untypedExpr ) override final; 188 189 virtual Expression * mutate( NameExpr * nameExpr ) override final; 189 virtual Expression * mutate( AddressExpr * castExpr ) override final;190 virtual Expression * mutate( AddressExpr * addrExpr ) override final; 190 191 virtual Expression * mutate( LabelAddressExpr * labAddressExpr ) override final; 191 192 virtual Expression * mutate( CastExpr * castExpr ) override final; 193 virtual Expression * mutate( KeywordCastExpr * castExpr ) override final; 192 194 virtual Expression * mutate( VirtualCastExpr * castExpr ) override final; 193 195 virtual Expression * mutate( UntypedMemberExpr * memberExpr ) override final; -
src/Common/PassVisitor.impl.h
rc28afead r8633f060 1259 1259 1260 1260 //-------------------------------------------------------------------------- 1261 // KeywordCastExpr 1262 template< typename pass_type > 1263 void PassVisitor< pass_type >::visit( KeywordCastExpr * node ) { 1264 VISIT_START( node ); 1265 1266 indexerScopedAccept( node->result, *this ); 1267 maybeAccept_impl ( node->arg , *this ); 1268 1269 VISIT_END( node ); 1270 } 1271 1272 template< typename pass_type > 1273 Expression * PassVisitor< pass_type >::mutate( KeywordCastExpr * node ) { 1274 MUTATE_START( node ); 1275 1276 indexerScopedMutate( node->env , *this ); 1277 indexerScopedMutate( node->result, *this ); 1278 maybeMutate_impl ( node->arg , *this ); 1279 1280 MUTATE_END( Expression, node ); 1281 } 1282 1283 //-------------------------------------------------------------------------- 1261 1284 // VirtualCastExpr 1262 1285 template< typename pass_type >
Note: See TracChangeset
for help on using the changeset viewer.