Changes in src/SynTree/Visitor.cc [2a4b088:630a82a]
- File:
-
- 1 edited
-
src/SynTree/Visitor.cc (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Visitor.cc
r2a4b088 r630a82a 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Jul 24 16:11:05 201513 // Update Count : 1 512 // Last Modified On : Fri Apr 1 18:05:13 2016 13 // Update Count : 18 14 14 // 15 15 … … 56 56 } 57 57 58 void Visitor::visit( ContextDecl *aggregateDecl ) {58 void Visitor::visit( TraitDecl *aggregateDecl ) { 59 59 visit( static_cast< AggregateDecl* >( aggregateDecl ) ); 60 60 } … … 284 284 } 285 285 286 void Visitor::visit( CompoundLiteralExpr *compLitExpr ) { 287 acceptAll( compLitExpr->get_results(), *this ); 288 maybeAccept( compLitExpr->get_type(), *this ); 289 maybeAccept( compLitExpr->get_initializer(), *this ); 290 } 291 286 292 void Visitor::visit( VoidType *voidType ) { 287 293 acceptAll( voidType->get_forall(), *this ); … … 326 332 } 327 333 328 void Visitor::visit( ContextInstType *aggregateUseType ) {334 void Visitor::visit( TraitInstType *aggregateUseType ) { 329 335 visit( static_cast< ReferenceToType * >( aggregateUseType ) ); 330 336 acceptAll( aggregateUseType->get_members(), *this ); … … 355 361 } 356 362 363 void Visitor::visit( VarArgsType *varArgsType ) { 364 acceptAll( varArgsType->get_forall(), *this ); 365 } 366 357 367 void Visitor::visit( SingleInit *singleInit ) { 358 368 singleInit->get_value()->accept( *this );
Note:
See TracChangeset
for help on using the changeset viewer.