ADTaaron-thesisarm-ehcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decaygc_noraiijacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change
on this file since 9e2c1f0 was
9e2c1f0,
checked in by Rob Schluntz <rschlunt@…>, 7 years ago
|
Merge branch 'global-init' into ctor and add global destroy function to call destructors on global objects
Conflicts:
src/CodeGen/CodeGenerator.cc
src/InitTweak/module.mk
src/Makefile.in
src/SynTree/Declaration.h
src/SynTree/FunctionDecl.cc
src/main.cc
|
-
Property mode set to
100644
|
File size:
1006 bytes
|
Line | |
---|
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 | // |
---|
7 | // RemoveInit.h -- |
---|
8 | // |
---|
9 | // Author : Rodolfo G. Esteves |
---|
10 | // Created On : Mon May 18 07:44:20 2015 |
---|
11 | // Last Modified By : Rob Schluntz |
---|
12 | // Last Modified On : Fri May 06 16:18:22 2016 |
---|
13 | // Update Count : 3 |
---|
14 | // |
---|
15 | |
---|
16 | #ifndef GEN_INIT_H |
---|
17 | #define GEN_INIT_H |
---|
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 { |
---|
27 | /// Adds return value temporaries and wraps Initializers in ConstructorInit nodes |
---|
28 | void genInit( std::list< Declaration * > & translationUnit ); |
---|
29 | /// True if the resolver should try to construct objDecl |
---|
30 | bool tryConstruct( ObjectDecl * objDecl ); |
---|
31 | } // namespace |
---|
32 | |
---|
33 | #endif // INITTWEAK_GENINIT_H |
---|
34 | |
---|
35 | // Local Variables: // |
---|
36 | // tab-width: 4 // |
---|
37 | // mode: c++ // |
---|
38 | // compile-command: "make install" // |
---|
39 | // End: // |
---|
Note: See
TracBrowser
for help on using the repository browser.