- Timestamp:
- Dec 17, 2020, 9:55:18 AM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 19de7864, 7a70fb2
- Parents:
- c8025a21 (diff), a00a2c1 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Decl.hpp
rc8025a21 r28e88d7 127 127 std::vector<ptr<DeclWithType>> params; 128 128 std::vector<ptr<DeclWithType>> returns; 129 std::vector<ptr<TypeDecl>> type_params; 130 std::vector<ptr<DeclWithType>> assertions; 129 131 // declared type, derived from parameter declarations 130 132 ptr<FunctionType> type; … … 132 134 std::vector< ptr<Expr> > withExprs; 133 135 134 std::vector<ptr<TypeDecl>> type_params;135 std::vector<ptr<DeclWithType>> assertions;136 136 137 137 FunctionDecl( const CodeLocation & loc, const std::string & name, std::vector<ptr<TypeDecl>>&& forall, -
src/ResolvExpr/Resolver.cc
rc8025a21 r28e88d7 1538 1538 const PtrType * handlePtrType( const PtrType * type, const ast::SymbolTable & symtab ) { 1539 1539 if ( type->dimension ) { 1540 #warning should use new equivalent to Validate::SizeType rather than sizeType here 1541 ast::ptr< ast::Type > sizeType = new ast::BasicType{ ast::BasicType::LongUnsignedInt }; 1540 ast::ptr< ast::Type > sizeType = ast::sizeType; 1542 1541 ast::mutate_field( 1543 1542 type, &PtrType::dimension,
Note:
See TracChangeset
for help on using the changeset viewer.