ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Rev | Line | |
---|
[51587aa] | 1 | // |
---|
| 2 | // Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo |
---|
| 3 | // |
---|
| 4 | // The contents of this file are covered under the licence agreement in the |
---|
| 5 | // file "LICENCE" distributed with Cforall. |
---|
| 6 | // |
---|
[f0121d7] | 7 | // GenInit.h -- |
---|
[51587aa] | 8 | // |
---|
[843054c2] | 9 | // Author : Rodolfo G. Esteves |
---|
[51587aa] | 10 | // Created On : Mon May 18 07:44:20 2015 |
---|
[02c7d04] | 11 | // Last Modified By : Rob Schluntz |
---|
[7b3f66b] | 12 | // Last Modified On : Fri May 13 11:27:19 2016 |
---|
[02c7d04] | 13 | // Update Count : 3 |
---|
[51587aa] | 14 | // |
---|
[48e99f2] | 15 | |
---|
[a0fdbd5] | 16 | #ifndef GEN_INIT_H |
---|
| 17 | #define GEN_INIT_H |
---|
[48e99f2] | 18 | |
---|
| 19 | #include <string> |
---|
| 20 | #include <list> |
---|
| 21 | |
---|
| 22 | #include "SynTree/SynTree.h" |
---|
| 23 | #include "SynTree/Declaration.h" |
---|
| 24 | #include "SynTree/Mutator.h" |
---|
| 25 | |
---|
| 26 | namespace InitTweak { |
---|
[a0fdbd5] | 27 | /// Adds return value temporaries and wraps Initializers in ConstructorInit nodes |
---|
| 28 | void genInit( std::list< Declaration * > & translationUnit ); |
---|
[f0121d7] | 29 | |
---|
| 30 | /// creates an appropriate ConstructorInit node which contains a constructor, destructor, and C-initializer |
---|
| 31 | ConstructorInit * genCtorInit( ObjectDecl * objDecl ); |
---|
[02c7d04] | 32 | } // namespace |
---|
[48e99f2] | 33 | |
---|
[9e2c1f0] | 34 | #endif // INITTWEAK_GENINIT_H |
---|
[a08ba92] | 35 | |
---|
[51587aa] | 36 | // Local Variables: // |
---|
| 37 | // tab-width: 4 // |
---|
| 38 | // mode: c++ // |
---|
| 39 | // compile-command: "make install" // |
---|
| 40 | // End: // |
---|
Note: See
TracBrowser
for help on using the repository browser.