Ignore:
Timestamp:
Jun 5, 2017, 1:59:11 PM (5 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, with_gc
Children:
7b13aeb
Parents:
b3c36f4
Message:

Some more unused argument removal, also removed some functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SymTab/ImplementationType.cc

    rb3c36f4 r7e003011  
    6161        }
    6262
    63         void ImplementationType::visit(VoidType *voidType) {
    64         }
    65 
    66         void ImplementationType::visit(BasicType *basicType) {
    67         }
     63        void ImplementationType::visit( __attribute__((unused)) VoidType *voidType ) {}
     64        void ImplementationType::visit( __attribute__((unused)) BasicType *basicType ) {}
    6865
    6966        void ImplementationType::visit(PointerType *pointerType) {
     
    8986        }
    9087
    91         void ImplementationType::visit(StructInstType *aggregateUseType) {
    92         }
    93 
    94         void ImplementationType::visit(UnionInstType *aggregateUseType) {
    95         }
    96 
    97         void ImplementationType::visit(EnumInstType *aggregateUseType) {
    98         }
    99 
    100         void ImplementationType::visit(TraitInstType *aggregateUseType) {
    101         }
     88        void ImplementationType::visit( __attribute__((unused)) StructInstType * aggregateUseType ) {}
     89        void ImplementationType::visit( __attribute__((unused)) UnionInstType * aggregateUseType ) {}
     90        void ImplementationType::visit( __attribute__((unused)) EnumInstType * aggregateUseType ) {}
     91        void ImplementationType::visit( __attribute__((unused)) TraitInstType * aggregateUseType ) {}
    10292
    10393        void ImplementationType::visit(TypeInstType *inst) {
     
    120110        }
    121111
    122         void ImplementationType::visit(VarArgsType *varArgsType) {
    123         }
    124 
    125         void ImplementationType::visit(ZeroType *zeroType) {
    126         }
    127 
    128         void ImplementationType::visit(OneType *oneType) {
    129         }
     112        void ImplementationType::visit( __attribute__((unused)) VarArgsType *varArgsType ) {}
     113        void ImplementationType::visit( __attribute__((unused)) ZeroType *zeroType ) {}
     114        void ImplementationType::visit( __attribute__((unused)) OneType *oneType ) {}
    130115} // namespace SymTab
    131116
Note: See TracChangeset for help on using the changeset viewer.