Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/ConversionCost.cc

    r7e003011 r0b150ec  
    149149        };
    150150
    151         void ConversionCost::visit( __attribute((unused)) VoidType *voidType ) {
     151        void ConversionCost::visit(VoidType *voidType) {
    152152                cost = Cost::infinity;
    153153        }
     
    186186        }
    187187
    188         void ConversionCost::visit(__attribute((unused)) ArrayType *arrayType) {}
    189         void ConversionCost::visit(__attribute((unused)) FunctionType *functionType) {}
     188        void ConversionCost::visit(ArrayType *arrayType) {
     189        }
     190
     191        void ConversionCost::visit(FunctionType *functionType) {
     192        }
    190193
    191194        void ConversionCost::visit(StructInstType *inst) {
     
    205208        }
    206209
    207         void ConversionCost::visit( __attribute((unused)) EnumInstType *inst ) {
     210        void ConversionCost::visit(EnumInstType *inst) {
    208211                static Type::Qualifiers q;
    209212                static BasicType integer( q, BasicType::SignedInt );
     
    214217        }
    215218
    216         void ConversionCost::visit( __attribute((unused)) TraitInstType *inst) {
     219        void ConversionCost::visit(TraitInstType *inst) {
    217220        }
    218221
     
    236239        }
    237240
    238         void ConversionCost::visit( __attribute((unused)) TupleType *tupleType) {
     241        void ConversionCost::visit(TupleType *tupleType) {
    239242                Cost c;
    240243                if ( TupleType *destAsTuple = dynamic_cast< TupleType* >( dest ) ) {
     
    256259        }
    257260
    258         void ConversionCost::visit( __attribute((unused)) VarArgsType *varArgsType) {
     261        void ConversionCost::visit(VarArgsType *varArgsType) {
    259262                if ( dynamic_cast< VarArgsType* >( dest ) ) {
    260263                        cost = Cost::zero;
     
    262265        }
    263266
    264         void ConversionCost::visit( __attribute((unused)) ZeroType *zeroType) {
     267        void ConversionCost::visit(ZeroType *zeroType) {
    265268                if ( dynamic_cast< ZeroType* >( dest ) ) {
    266269                        cost = Cost::zero;
     
    278281        }
    279282
    280         void ConversionCost::visit( __attribute((unused)) OneType *oneType) {
     283        void ConversionCost::visit(OneType *oneType) {
    281284                if ( dynamic_cast< OneType* >( dest ) ) {
    282285                        cost = Cost::zero;
Note: See TracChangeset for help on using the changeset viewer.