Changes in src/SymTab/FixFunction.cc [b2ecd48:9feb34b]
- File:
-
- 1 edited
-
src/SymTab/FixFunction.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SymTab/FixFunction.cc
rb2ecd48 r9feb34b 109 109 110 110 const ast::DeclWithType * postvisit( const ast::FunctionDecl * func ) { 111 // Cannot handle cases with asserions. 112 assert( func->assertions.empty() ); 113 return new ast::ObjectDecl{ 114 func->location, func->name, new ast::PointerType( func->type ), nullptr, 111 return new ast::ObjectDecl{ 112 func->location, func->name, new ast::PointerType{ func->type }, nullptr, 115 113 func->storage, func->linkage, nullptr, copy( func->attributes ) }; 116 114 } … … 119 117 120 118 const ast::Type * postvisit( const ast::ArrayType * array ) { 121 return new ast::PointerType{ 122 array->base, array->dimension, array->isVarLen, array->isStatic, 119 return new ast::PointerType{ 120 array->base, array->dimension, array->isVarLen, array->isStatic, 123 121 array->qualifiers }; 124 122 }
Note:
See TracChangeset
for help on using the changeset viewer.