Changeset 28e88d7 for src


Ignore:
Timestamp:
Dec 17, 2020, 9:55:18 AM (5 years ago)
Author:
Colby Alexander Parsons <caparsons@…>
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.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

Location:
src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Decl.hpp

    rc8025a21 r28e88d7  
    127127        std::vector<ptr<DeclWithType>> params;
    128128        std::vector<ptr<DeclWithType>> returns;
     129        std::vector<ptr<TypeDecl>> type_params;
     130        std::vector<ptr<DeclWithType>> assertions;
    129131        // declared type, derived from parameter declarations
    130132        ptr<FunctionType> type;
     
    132134        std::vector< ptr<Expr> > withExprs;
    133135
    134         std::vector<ptr<TypeDecl>> type_params;
    135         std::vector<ptr<DeclWithType>> assertions;
    136136
    137137        FunctionDecl( const CodeLocation & loc, const std::string & name, std::vector<ptr<TypeDecl>>&& forall,
  • src/ResolvExpr/Resolver.cc

    rc8025a21 r28e88d7  
    15381538        const PtrType * handlePtrType( const PtrType * type, const ast::SymbolTable & symtab ) {
    15391539                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;
    15421541                        ast::mutate_field(
    15431542                                type, &PtrType::dimension,
Note: See TracChangeset for help on using the changeset viewer.