source:
src/GenPoly/InstantiateGeneric.h@
50ff1d0
| Last change on this file since 50ff1d0 was 08fc48f, checked in by , 8 years ago | |
|---|---|
|
|
| File size: 958 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 | |
| [6b0b624] | 11 | // Last Modified By : Peter A. Buhr |
| 12 | // Last Modified On : Sat Jul 22 09:22:42 2017 | |
| 13 | // Update Count : 2 | |
| [ea5daeb] | 14 | // |
| 15 | ||
| [6b0b624] | 16 | #pragma once |
| [ea5daeb] | 17 | |
| [08fc48f] | 18 | #include <list> // for list |
| 19 | ||
| 20 | class Declaration; | |
| [ea5daeb] | 21 | |
| 22 | namespace GenPoly { | |
| 23 | /// Replaces all generic types that have static layout with concrete instantiations. | |
| 24 | /// Types with concrete values for otype parameters will be template-expanded, while | |
| 25 | /// dtype and ftype parameters will be replaced by the appropriate void type. | |
| 26 | void instantiateGeneric( std::list< Declaration* > &translationUnit ); | |
| 27 | } // namespace GenPoly | |
| 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.