Changes in src/SynTree/Visitor.cc [71f4e4f:2a4b088]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Visitor.cc
r71f4e4f r2a4b088 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 : Rob Schluntz12 // Last Modified On : Wed Jan 13 15:27:23 201613 // Update Count : 1 811 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Jul 24 16:11:05 2015 13 // Update Count : 15 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 221 232 void Visitor::visit( AttrExpr *attrExpr ) { 222 233 acceptAll( attrExpr->get_results(), *this ); … … 353 364 } 354 365 355 void Visitor::visit( ConstructorInit *ctorInit ) {356 maybeAccept( ctorInit->get_ctor(), *this );357 maybeAccept( ctorInit->get_init(), *this );358 }359 360 366 void Visitor::visit( Subrange *subrange ) {} 361 367
Note:
See TracChangeset
for help on using the changeset viewer.