Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Visitor.cc

    r2b7bf59 r5809461  
    1717#include <list>           // for list
    1818
    19 #include "Attribute.h"    // for Attribute
    2019#include "Constant.h"     // for Constant
    2120#include "Declaration.h"  // for DeclarationWithType, ObjectDecl, Declaration
     
    3635        maybeAccept( objectDecl->get_init(), *this );
    3736        maybeAccept( objectDecl->get_bitfieldWidth(), *this );
    38         acceptAll( objectDecl->attributes, *this );
    3937}
    4038
     
    4240        maybeAccept( functionDecl->get_functionType(), *this );
    4341        maybeAccept( functionDecl->get_statements(), *this );
    44         acceptAll( functionDecl->attributes, *this );
    4542}
    4643
     
    490487
    491488
    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 
     489void Visitor::visit( __attribute__((unused)) Subrange *subrange ) {}
     490
     491
     492void Visitor::visit( __attribute__((unused)) Constant *constant ) {}
    501493// Local Variables: //
    502494// tab-width: 4 //
Note: See TracChangeset for help on using the changeset viewer.