source: translator/SymTab/ImplementationType.h @ 3c70d38

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 3c70d38 was 51b7345, checked in by Peter A. Buhr <pabuhr@…>, 10 years ago

initial commit

  • Property mode set to 100644
File size: 691 bytes
Line 
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
14namespace SymTab {
15
16Type *implementationType( Type *, const SymTab::Indexer &indexer );
17
18template< typename InputIterator, typename OutputIterator >
19void
20implementationTypeList( 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.