Changes in src/InitTweak/InitTweak.h [1a5ad8c:be9288a]
- File:
 - 
      
- 1 edited
 
- 
          
  src/InitTweak/InitTweak.h (modified) (3 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
src/InitTweak/InitTweak.h
r1a5ad8c rbe9288a 24 24 // helper functions for initialization 25 25 namespace 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 26 32 FunctionDecl * isAssignment( Declaration * decl ); 27 33 FunctionDecl * isDestructor( Declaration * decl ); … … 30 36 FunctionDecl * isCopyFunction( Declaration * decl, const std::string & fname ); 31 37 32 /// returns the base type of the first parameter to a constructor/destructor/assignment function33 Type * getTypeofThis( FunctionType * ftype );34 35 /// returns the first parameter of a constructor/destructor/assignment function36 ObjectDecl * getParamThis( FunctionType * ftype );37 38 38 /// transform Initializer into an argument list that can be passed to a call expression 39 39 std::list< Expression * > makeInitList( Initializer * init ); 40 40 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 ); 41 /// True if the resolver should try to construct objDecl 42 bool tryConstruct( ObjectDecl * objDecl ); 46 43 47 44 /// True if the Initializer contains designations … … 105 102 void addArrayIndex( Expression * index, Expression * dimension ); 106 103 void clearArrayIndices(); 107 bool addReference();108 104 109 105 class ExpanderImpl;  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.