Changes in src/SymTab/FixFunction.cc [4bda2cf:954ef5b]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SymTab/FixFunction.cc
r4bda2cf r954ef5b 36 36 } 37 37 38 // xxx - this passes on void[], e.g.39 // void foo(void [10]);40 // does not cause an error41 42 38 Type * FixFunction::postmutate(ArrayType *arrayType) { 43 39 // need to recursively mutate the base type in order for multi-dimensional arrays to work. … … 66 62 void FixFunction::premutate(ZeroType *) { visit_children = false; } 67 63 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 }74 64 } // namespace SymTab 75 65
Note:
See TracChangeset
for help on using the changeset viewer.