Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/GenPoly/Specialize.cc

    rfea7ca7 r64a32c6  
    2525#include "SynTree/Statement.h"
    2626#include "SynTree/Type.h"
     27#include "SynTree/Attribute.h"
    2728#include "SynTree/TypeSubstitution.h"
    2829#include "SynTree/Mutator.h"
     
    101102                thunkFunc->fixUniqueId();
    102103
     104                // thunks may be generated and not used - silence warning with attribute
     105                thunkFunc->get_attributes().push_back( new Attribute( "unused" ) );
     106
    103107                // thread thunk parameters into call to actual function, naming thunk parameters as we go
    104108                UniqueName paramNamer( paramPrefix );
Note: See TracChangeset for help on using the changeset viewer.