Changeset 4eb31f2b for src/InitTweak
- Timestamp:
- Jun 16, 2017, 3:22:50 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:
- f522618
- Parents:
- 7bd712d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/InitTweak/GenInit.cc ¶
r7bd712d r4eb31f2b 44 44 } 45 45 46 class ReturnFixer {46 class ReturnFixer : public WithStmtsToAdd, public WithScopes { 47 47 public: 48 48 /// consistently allocates a temporary variable for the return value … … 53 53 void premutate( FunctionDecl *functionDecl ); 54 54 void premutate( ReturnStmt * returnStmt ); 55 56 at_cleanup_t at_cleanup;57 std::list< Statement * > stmtsToAddBefore;58 55 59 56 protected: … … 160 157 161 158 void ReturnFixer::premutate( FunctionDecl *functionDecl ) { 162 GuardValue( this,ftype );163 GuardValue( this,funcName );159 GuardValue( ftype ); 160 GuardValue( funcName ); 164 161 165 162 ftype = functionDecl->get_functionType();
Note: See TracChangeset
for help on using the changeset viewer.