ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change
on this file since 0afffee was
ea5daeb,
checked in by Aaron Moss <a3moss@…>, 8 years ago
|
Move generic instantiation earlier
|
-
Property mode set to
100644
|
File size:
1018 bytes
|
Rev | Line | |
---|
[ea5daeb] | 1 | // |
---|
| 2 | // Cforall Version 1.0.0 Copyright (C) 2016 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 : Thu Aug 04 18:33:00 2016 |
---|
| 11 | // Last Modified By : Aaron B. Moss |
---|
| 12 | // Last Modified On : Thu Aug 04 18:33:00 2016 |
---|
| 13 | // Update Count : 1 |
---|
| 14 | // |
---|
| 15 | |
---|
| 16 | #ifndef _INSTANTIATEGENERIC_H |
---|
| 17 | #define _INSTANTIATEGENERIC_H |
---|
| 18 | |
---|
| 19 | #include "SynTree/SynTree.h" |
---|
| 20 | |
---|
| 21 | namespace GenPoly { |
---|
| 22 | /// Replaces all generic types that have static layout with concrete instantiations. |
---|
| 23 | /// Types with concrete values for otype parameters will be template-expanded, while |
---|
| 24 | /// dtype and ftype parameters will be replaced by the appropriate void type. |
---|
| 25 | void instantiateGeneric( std::list< Declaration* > &translationUnit ); |
---|
| 26 | } // namespace GenPoly |
---|
| 27 | |
---|
| 28 | #endif // _INSTANTIATEGENERIC_H |
---|
| 29 | |
---|
| 30 | // Local Variables: // |
---|
| 31 | // tab-width: 4 // |
---|
| 32 | // mode: c++ // |
---|
| 33 | // compile-command: "make install" // |
---|
| 34 | // End: // |
---|
Note: See
TracBrowser
for help on using the repository browser.