Changeset 000b914 for src/SynTree/Visitor.cc
- Timestamp:
- Dec 7, 2015, 11:31:53 AM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
- Children:
- baf7fee
- Parents:
- e58be8e (diff), 47534159 (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
re58be8e r000b914 210 210 } 211 211 212 void Visitor::visit( AlignofExpr *alignofExpr ) { 213 acceptAll( alignofExpr->get_results(), *this ); 214 if ( alignofExpr->get_isType() ) { 215 maybeAccept( alignofExpr->get_type(), *this ); 216 } else { 217 maybeAccept( alignofExpr->get_expr(), *this ); 218 } 219 } 220 212 221 void Visitor::visit( AttrExpr *attrExpr ) { 213 222 acceptAll( attrExpr->get_results(), *this );
Note: See TracChangeset
for help on using the changeset viewer.