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 17cd4eb was
51b7345,
checked in by Peter A. Buhr <pabuhr@…>, 10 years ago
|
initial commit
|
-
Property mode set to
100644
|
File size:
691 bytes
|
Rev | Line | |
---|
[51b7345] | 1 | /* |
---|
| 2 | * This file is part of the Cforall project |
---|
| 3 | * |
---|
| 4 | * $Id: ImplementationType.h,v 1.3 2005/08/29 20:14:17 rcbilson Exp $ |
---|
| 5 | * |
---|
| 6 | */ |
---|
| 7 | |
---|
| 8 | #ifndef SYMTAB_IMPLEMENTATIONTYPE_H |
---|
| 9 | #define SYMTAB_IMPLEMENTATIONTYPE_H |
---|
| 10 | |
---|
| 11 | #include "SynTree/SynTree.h" |
---|
| 12 | #include "SymTab/Indexer.h" |
---|
| 13 | |
---|
| 14 | namespace SymTab { |
---|
| 15 | |
---|
| 16 | Type *implementationType( Type *, const SymTab::Indexer &indexer ); |
---|
| 17 | |
---|
| 18 | template< typename InputIterator, typename OutputIterator > |
---|
| 19 | void |
---|
| 20 | implementationTypeList( InputIterator begin, InputIterator end, OutputIterator out, const SymTab::Indexer &indexer ) |
---|
| 21 | { |
---|
| 22 | while( begin != end ) { |
---|
| 23 | *out++ = implementationType( *begin++, indexer ); |
---|
| 24 | } |
---|
| 25 | } |
---|
| 26 | |
---|
| 27 | } // namespace SymTab |
---|
| 28 | |
---|
| 29 | #endif /* #ifndef SYMTAB_IMPLEMENTATIONTYPE_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.