Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SymTab/FixFunction.cc

    r4bda2cf r954ef5b  
    3636        }
    3737
    38         // xxx - this passes on void[], e.g.
    39         //   void foo(void [10]);
    40         // does not cause an error
    41 
    4238        Type * FixFunction::postmutate(ArrayType *arrayType) {
    4339                // need to recursively mutate the base type in order for multi-dimensional arrays to work.
     
    6662        void FixFunction::premutate(ZeroType *) { visit_children = false; }
    6763        void FixFunction::premutate(OneType *) { visit_children = false; }
    68 
    69         bool fixFunction( DeclarationWithType *& dwt ) {
    70                 PassVisitor<FixFunction> fixer;
    71                 dwt = dwt->acceptMutator( fixer );
    72                 return fixer.pass.isVoid;
    73         }
    7464} // namespace SymTab
    7565
Note: See TracChangeset for help on using the changeset viewer.