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