Changeset 1ae47de for src/AST/Type.hpp


Ignore:
Timestamp:
Jun 19, 2019, 4:51:14 PM (5 years ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
c0f9efe
Parents:
17a0ede2
Message:

Convert now handles attributes on types.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Type.hpp

    r17a0ede2 r1ae47de  
    3939        std::vector<ptr<Attribute>> attributes;
    4040
    41         Type( CV::Qualifiers q = {}, std::vector<ptr<Attribute>> && as = {} ) 
     41        Type( CV::Qualifiers q = {}, std::vector<ptr<Attribute>> && as = {} )
    4242        : qualifiers(q), attributes(std::move(as)) {}
    4343
     
    270270        ForallList forall;
    271271
    272         ParameterizedType( ForallList&& fs = {}, CV::Qualifiers q = {}, 
     272        ParameterizedType( ForallList&& fs = {}, CV::Qualifiers q = {},
    273273                std::vector<ptr<Attribute>> && as = {} )
    274274        : Type(q, std::move(as)), forall(std::move(fs)) {}
    275        
    276         ParameterizedType( CV::Qualifiers q, std::vector<ptr<Attribute>> && as = {} ) 
     275
     276        ParameterizedType( CV::Qualifiers q, std::vector<ptr<Attribute>> && as = {} )
    277277        : Type(q, std::move(as)), forall() {}
    278278
Note: See TracChangeset for help on using the changeset viewer.