Changeset 3aec25f for src/AST/Type.cpp


Ignore:
Timestamp:
Oct 20, 2020, 4:19:47 PM (4 years ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
9b0c3ec5, e7d6968
Parents:
8da7421f
Message:

Some clean-up of new-ast types and the porting document.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Type.cpp

    r8da7421f r3aec25f  
    157157
    158158template<typename decl_t>
     159SueInstType<decl_t>::SueInstType(
     160        const base_type * b, std::vector<ptr<Expr>> && params,
     161        CV::Qualifiers q, std::vector<ptr<Attribute>> && as )
     162: BaseInstType( b->name, std::move(params), q, std::move(as) ), base( b ) {}
     163
     164template<typename decl_t>
    159165bool SueInstType<decl_t>::isComplete() const {
    160166        return base ? base->body : false;
Note: See TracChangeset for help on using the changeset viewer.