ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decaygc_noraiijacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newstringwith_gc
Last change
on this file since 69911c11 was
d8847b7,
checked in by Aaron Moss <a3moss@…>, 9 years ago
|
First draft of generic instantiation pass
|
-
Property mode set to
100644
|
File size:
881 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 | // InstantiateGeneric.h -- |
---|
8 | // |
---|
9 | // Author : Aaron B. Moss |
---|
10 | // Created On : Wed Nov 11 14:55:01 2015 |
---|
11 | // Last Modified By : Aaron B. Moss |
---|
12 | // Last Modified On : Wed Nov 11 14:55:01 2015 |
---|
13 | // Update Count : 1 |
---|
14 | // |
---|
15 | |
---|
16 | #ifndef _INSTANTIATEGENERIC_H |
---|
17 | #define _INSTANTIATEGENERIC_H |
---|
18 | |
---|
19 | #include <list> |
---|
20 | #include "SynTree/SynTree.h" |
---|
21 | |
---|
22 | namespace GenPoly { |
---|
23 | /// Replaces generic structs used outside polymorphic contexts with their concrete instantiations |
---|
24 | void instantiateGeneric( std::list< Declaration* >& translationUnit ); |
---|
25 | } // namespace GenPoly |
---|
26 | |
---|
27 | #endif // _INSTANTIATEGENERIC_H |
---|
28 | |
---|
29 | // Local Variables: // |
---|
30 | // tab-width: 4 // |
---|
31 | // mode: c++ // |
---|
32 | // compile-command: "make install" // |
---|
33 | // End: // |
---|
Note: See
TracBrowser
for help on using the repository browser.