Changeset 6e49f18 for src/SynTree/Visitor.cc
- Timestamp:
- Sep 27, 2017, 11:11:30 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, resolv-new, with_gc
- Children:
- f802e46
- Parents:
- a6c5d7c (diff), fa16264 (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Visitor.cc
ra6c5d7c r6e49f18 17 17 #include <list> // for list 18 18 19 #include "Attribute.h" // for Attribute 19 20 #include "Constant.h" // for Constant 20 21 #include "Declaration.h" // for DeclarationWithType, ObjectDecl, Declaration … … 35 36 maybeAccept( objectDecl->get_init(), *this ); 36 37 maybeAccept( objectDecl->get_bitfieldWidth(), *this ); 38 acceptAll( objectDecl->attributes, *this ); 37 39 } 38 40 … … 40 42 maybeAccept( functionDecl->get_functionType(), *this ); 41 43 maybeAccept( functionDecl->get_statements(), *this ); 44 acceptAll( functionDecl->attributes, *this ); 42 45 } 43 46 … … 487 490 488 491 489 void Visitor::visit( __attribute__((unused)) Subrange *subrange ) {} 490 491 492 void Visitor::visit( __attribute__((unused)) Constant *constant ) {} 492 void Visitor::visit( Subrange * ) {} 493 494 495 void Visitor::visit( Constant * ) {} 496 497 void Visitor::visit( Attribute * attribute ) { 498 acceptAll( attribute->parameters, *this ); 499 } 500 493 501 // Local Variables: // 494 502 // tab-width: 4 //
Note: See TracChangeset
for help on using the changeset viewer.