Changeset f80e0218 for src/InitTweak
- Timestamp:
- Jun 30, 2016, 4:32:56 PM (10 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, stuck-waitfor-destruct, with_gc
- Children:
- ea29e73
- Parents:
- 1b5c81ed (diff), 84d4d6f (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. - Location:
- src/InitTweak
- Files:
-
- 7 added
- 1 deleted
- 2 edited
- 1 moved
-
FixGlobalInit.cc (added)
-
FixGlobalInit.h (added)
-
FixInit.cc (added)
-
FixInit.h (added)
-
GenInit.cc (added)
-
GenInit.h (moved) (moved from src/InitTweak/RemoveInit.h ) (2 diffs)
-
InitModel.cc (modified) (3 diffs)
-
InitTweak.cc (added)
-
InitTweak.h (added)
-
RemoveInit.cc (deleted)
-
module.mk (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/InitTweak/GenInit.h
r1b5c81ed rf80e0218 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // RemoveInit.h -- 7 // RemoveInit.h -- 8 8 // 9 9 // Author : Rodolfo G. Esteves 10 10 // Created On : Mon May 18 07:44:20 2015 11 // Last Modified By : Peter A. Buhr12 // Last Modified On : Fri Nov 27 17:00:47 201513 // Update Count : 211 // Last Modified By : Rob Schluntz 12 // Last Modified On : Fri May 13 11:27:19 2016 13 // Update Count : 3 14 14 // 15 15 16 #ifndef REMOVE_INIT_H17 #define REMOVE_INIT_H16 #ifndef GEN_INIT_H 17 #define GEN_INIT_H 18 18 19 19 #include <string> … … 25 25 26 26 namespace InitTweak { 27 /// Adds assignment statements for polymorphic type initializers28 void tweak( std::list< Declaration * >translationUnit );29 } // namespace 27 /// Adds return value temporaries and wraps Initializers in ConstructorInit nodes 28 void genInit( std::list< Declaration * > & translationUnit ); 29 } // namespace 30 30 31 #endif // GENPOLY_POLYMUTATOR_H31 #endif // INITTWEAK_GENINIT_H 32 32 33 33 // Local Variables: // -
src/InitTweak/InitModel.cc
r1b5c81ed rf80e0218 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // InitModel.cc -- 7 // InitModel.cc -- 8 8 // 9 9 // Author : Rodolfo G. Esteves 10 10 // Created On : Mon May 18 07:44:20 2015 11 // Last Modified By : Peter A. Buhr12 // Last Modified On : T ue May 19 16:37:08 201513 // Update Count : 111 // Last Modified By : Rob Schluntz 12 // Last Modified On : Thu Jan 07 13:38:46 2016 13 // Update Count : 5 14 14 // 15 15 … … 198 198 assert(init == 0 && single != 0); 199 199 std::list< Expression * > empty; 200 init = new SingleInit( single->get_expr(), empty );200 init = new SingleInit( single->get_expr(), empty, false ); // cannot be constructed 201 201 return; 202 202 } … … 214 214 } // if 215 215 216 init = new ListInit( contents ); 216 std::list< Expression * > desig; 217 init = new ListInit( contents, desig, false ); // cannot be constructed 217 218 return; 218 219 } -
src/InitTweak/module.mk
r1b5c81ed rf80e0218 11 11 ## Created On : Mon Jun 1 17:49:17 2015 12 12 ## Last Modified By : Rob Schluntz 13 ## Last Modified On : Mon Jan 11 14:40:16201614 ## Update Count : 213 ## Last Modified On : Fri May 13 11:36:24 2016 14 ## Update Count : 3 15 15 ############################################################################### 16 16 17 SRC += InitTweak/RemoveInit.cc 17 SRC += InitTweak/GenInit.cc \ 18 InitTweak/FixInit.cc \ 19 InitTweak/FixGlobalInit.cc \ 20 InitTweak/InitTweak.cc 18 21
Note:
See TracChangeset
for help on using the changeset viewer.