Changes in src/InitTweak/InitTweak.h [be9288a:1a5ad8c]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/InitTweak/InitTweak.h
rbe9288a r1a5ad8c 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 32 26 FunctionDecl * isAssignment( Declaration * decl ); 33 27 FunctionDecl * isDestructor( Declaration * decl ); … … 36 30 FunctionDecl * isCopyFunction( Declaration * decl, const std::string & fname ); 37 31 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 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 objDecl 42 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 ); 43 46 44 47 /// True if the Initializer contains designations … … 102 105 void addArrayIndex( Expression * index, Expression * dimension ); 103 106 void clearArrayIndices(); 107 bool addReference(); 104 108 105 109 class ExpanderImpl;
Note:
See TracChangeset
for help on using the changeset viewer.