Changeset 3f7e12cb for src/InitTweak/InitTweak.h
- Timestamp:
- Nov 8, 2017, 5:43:33 PM (8 years ago)
- 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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/InitTweak/InitTweak.h
r78315272 r3f7e12cb 30 30 FunctionDecl * isCopyFunction( Declaration * decl, const std::string & fname ); 31 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 32 38 /// transform Initializer into an argument list that can be passed to a call expression 33 39 std::list< Expression * > makeInitList( Initializer * init ); 34 40 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 ); 37 46 38 47 /// True if the Initializer contains designations … … 96 105 void addArrayIndex( Expression * index, Expression * dimension ); 97 106 void clearArrayIndices(); 107 bool addReference(); 98 108 99 109 class ExpanderImpl;
Note:
See TracChangeset
for help on using the changeset viewer.