Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/InitTweak/InitTweak.h

    rbe9288a r29bc63e  
    2424// helper functions for initialization
    2525namespace InitTweak {
    26         bool isConstructor( const std::string & );
    27         bool isDestructor( const std::string & );
    28         bool isAssignment( const std::string & );
    29         bool isCtorDtor( const std::string & );
    30         bool isCtorDtorAssign( const std::string & );
    31 
    3226        FunctionDecl * isAssignment( Declaration * decl );
    3327        FunctionDecl * isDestructor( Declaration * decl );
     
    3933        std::list< Expression * > makeInitList( Initializer * init );
    4034
    41         /// True if the resolver should try to construct objDecl
    42         bool tryConstruct( ObjectDecl * objDecl );
     35        /// True if the resolver should try to construct dwt
     36        bool tryConstruct( DeclarationWithType * dwt );
     37
     38        /// True if the type can have a user-defined constructor
     39        bool isConstructable( Type * t );
    4340
    4441        /// True if the Initializer contains designations
Note: See TracChangeset for help on using the changeset viewer.