Ignore:
Timestamp:
Nov 8, 2017, 5:43:33 PM (8 years ago)
Author:
Aaron Moss <a3moss@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
954908d
Parents:
78315272 (diff), e35f30a (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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/InitTweak/InitTweak.h

    r78315272 r3f7e12cb  
    3030        FunctionDecl * isCopyFunction( Declaration * decl, const std::string & fname );
    3131
     32        /// returns the base type of the first parameter to a constructor/destructor/assignment function
     33        Type * getTypeofThis( FunctionType * ftype );
     34
     35        /// returns the first parameter of a constructor/destructor/assignment function
     36        ObjectDecl * getParamThis( FunctionType * ftype );
     37
    3238        /// transform Initializer into an argument list that can be passed to a call expression
    3339        std::list< Expression * > makeInitList( Initializer * init );
    3440
    35         /// True if the resolver should try to construct objDecl
    36         bool tryConstruct( ObjectDecl * objDecl );
     41        /// True if the resolver should try to construct dwt
     42        bool tryConstruct( DeclarationWithType * dwt );
     43
     44        /// True if the type can have a user-defined constructor
     45        bool isConstructable( Type * t );
    3746
    3847        /// True if the Initializer contains designations
     
    96105                void addArrayIndex( Expression * index, Expression * dimension );
    97106                void clearArrayIndices();
     107                bool addReference();
    98108
    99109                class ExpanderImpl;
Note: See TracChangeset for help on using the changeset viewer.