Changeset 0292aa4


Ignore:
Timestamp:
Nov 25, 2020, 10:04:05 AM (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:
5e82d56
Parents:
4702a2c
Message:

Fixed some formating/cleanlyness mistakes.

Location:
src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Decl.hpp

    r4702a2c r0292aa4  
    7575        int scopeLevel = 0;
    7676
    77         /*
    78         ForallDecl foralls {
    79                 list<TypeDecl> params
    80                 list<ObjectDecl> assns
    81         }
    82         */
    83 
    8477        std::vector<ptr<Attribute>> attributes;
    8578        Function::Specs funcSpec;
  • src/AST/Type.hpp

    r4702a2c r0292aa4  
    274274public:
    275275        using ForallList = std::vector<ptr<TypeDecl>>;
    276         // using ForallList = std::vector<readonly<TypeDecl>>;
    277 
    278         // using ForallList = std::vector<ptr<TypeInstType>>;
     276
    279277        ForallList forall;
    280         // using AssertionList = std::vector<ptr<VariableExpr>>;
    281         // AssertionList assertions;
    282278
    283279        ParameterizedType( ForallList&& fs = {}, CV::Qualifiers q = {},
     
    427423public:
    428424        readonly<TypeDecl> base;
    429         // int context;
    430425        TypeDecl::Kind kind;
    431426
     
    544539}
    545540
    546 
    547541#undef MUTATE_FRIEND
    548542
    549543// Local Variables: //
    550544// tab-width: 4 //
    551 
    552545// mode: c++ //
    553546// compile-command: "make install" //
  • src/ResolvExpr/CandidateFinder.cpp

    r4702a2c r0292aa4  
    15951595                                        // unification run for side-effects
    15961596                                        bool canUnify = unify( toType, cand->expr->result, env, need, have, open, symtab );
    1597                     (void) canUnify;
     1597                                        (void) canUnify;
    15981598                                        Cost thisCost = computeConversionCost( cand->expr->result, toType, cand->expr->get_lvalue(),
    15991599                                                symtab, env );
Note: See TracChangeset for help on using the changeset viewer.