Changes in src/SynTree/Visitor.cc [2a4b088:71f4e4f]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Visitor.cc
r2a4b088 r71f4e4f 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // Visitor.cc -- 7 // Visitor.cc -- 8 8 // 9 9 // Author : Richard C. Bilson 10 10 // Created On : Mon May 18 07:44:20 2015 11 // Last Modified By : Peter A. Buhr12 // Last Modified On : Fri Jul 24 16:11:05 201513 // Update Count : 1 511 // Last Modified By : Rob Schluntz 12 // Last Modified On : Wed Jan 13 15:27:23 2016 13 // Update Count : 18 14 14 // 15 15 … … 219 219 } 220 220 221 void Visitor::visit( UntypedOffsetofExpr *offsetofExpr ) {222 acceptAll( offsetofExpr->get_results(), *this );223 maybeAccept( offsetofExpr->get_type(), *this );224 }225 226 void Visitor::visit( OffsetofExpr *offsetofExpr ) {227 acceptAll( offsetofExpr->get_results(), *this );228 maybeAccept( offsetofExpr->get_type(), *this );229 maybeAccept( offsetofExpr->get_member(), *this );230 }231 232 221 void Visitor::visit( AttrExpr *attrExpr ) { 233 222 acceptAll( attrExpr->get_results(), *this ); … … 364 353 } 365 354 355 void Visitor::visit( ConstructorInit *ctorInit ) { 356 maybeAccept( ctorInit->get_ctor(), *this ); 357 maybeAccept( ctorInit->get_init(), *this ); 358 } 359 366 360 void Visitor::visit( Subrange *subrange ) {} 367 361
Note:
See TracChangeset
for help on using the changeset viewer.