ADT
aaron-thesis
arm-eh
ast-experimental
cleanup-dtors
deferred_resn
demangler
enum
forall-pointer-decay
jacob/cs343-translation
jenkins-sandbox
new-ast
new-ast-unique-expr
new-env
no_list
persistent-indexer
pthread-emulation
qualifiedEnum
resolv-new
with_gc
Last change
on this file since b826e6b was ea5daeb, checked in by Aaron Moss <a3moss@…>, 9 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.