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

ADT aaron-thesis arm-eh ast-experimental cleanup-dtors ctor deferred_resn demangler enum forall-pointer-decay gc_noraii jacob/cs343-translation jenkins-sandbox memory new-ast new-ast-unique-expr new-env no_list persistent-indexer pthread-emulation qualifiedEnum resolv-new string stuck-waitfor-destruct with_gc
Last change on this file since 3b77289 was 51b73452, checked in by Peter A. Buhr <pabuhr@…>, 12 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.