Changeset 2b7bf59 for src/Common/PassVisitor.impl.h
- Timestamp:
- Sep 27, 2017, 3:50:09 PM (7 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 7c3f3be
- Parents:
- a139c11
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Common/PassVisitor.impl.h
ra139c11 r2b7bf59 321 321 maybeAccept ( node->init , *this ); 322 322 maybeAccept ( node->bitfieldWidth, *this ); 323 maybeAccept ( node->attributes , *this ); 323 324 324 325 if ( node->name != "" ) { … … 336 337 maybeMutateRef ( node->init , *this ); 337 338 maybeMutateRef ( node->bitfieldWidth, *this ); 339 maybeMutateRef ( node->attributes , *this ); 338 340 339 341 if ( node->name != "" ) { … … 358 360 maybeAccept( node->type, *this ); 359 361 maybeAccept( node->statements, *this ); 362 maybeAccept( node->attributes, *this ); 360 363 } 361 364 … … 375 378 maybeMutateRef( node->type, *this ); 376 379 maybeMutateRef( node->statements, *this ); 380 maybeMutateRef( node->attributes, *this ); 377 381 } 378 382 … … 1984 1988 } 1985 1989 1990 template< typename pass_type > 1991 void PassVisitor< pass_type >::visit( Attribute * node ) { 1992 VISIT_BODY( node ); 1993 } 1994 1986 1995 //--------------------------------------------------------------------------------------------------------------- 1987 1996 template< typename pass_type > … … 2069 2078 MUTATE_BODY( Constant, node ); 2070 2079 } 2080 2081 template< typename pass_type > 2082 Attribute * PassVisitor< pass_type >::mutate( Attribute * node ) { 2083 MUTATE_BODY( Attribute, node ); 2084 }
Note: See TracChangeset
for help on using the changeset viewer.