source: src/GenPoly/Specialize.h @ 5cfb8b1

Last change on this file since 5cfb8b1 was 5cf1228, checked in by Andrew Beach <ajbeach@…>, 2 years ago

Clean-up the new specialize pass. (Especially the cruft from the hand-off.)

  • Property mode set to 100644
File size: 910 bytes
Line 
1//
2// Cforall Version 1.0.0 Copyright (C) 2015 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// Specialize.h -- Generate thunks to specialize polymorphic functions.
8//
9// Author           : Richard C. Bilson
10// Created On       : Mon May 18 07:44:20 2015
11// Last Modified By : Peter A. Buhr
12// Last Modified On : Sat Jul 22 09:22:31 2017
13// Update Count     : 2
14//
15
16#pragma once
17
18#include <list>  // for list
19
20class Declaration;
21namespace ast {
22        class TranslationUnit;
23}
24
25namespace GenPoly {
26        /// generates thunks where needed
27        void convertSpecializations( std::list< Declaration* >& translationUnit );
28
29        void convertSpecializations( ast::TranslationUnit & translationUnit );
30} // namespace GenPoly
31
32// Local Variables: //
33// tab-width: 4 //
34// mode: c++ //
35// compile-command: "make install" //
36// End: //
Note: See TracBrowser for help on using the repository browser.