source: src/AST/Convert.hpp @ 5a3d67c

ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change on this file since 5a3d67c was 74dbbf6, checked in by Andrew Beach <ajbeach@…>, 5 years ago

ConverterNewToOld? boiler-plate code.

  • Property mode set to 100644
File size: 766 bytes
Line 
1//
2// Cforall Version 1.0.0 Copyright (C) 2019 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// Convert.hpp -- Convert between the new and old syntax trees.
8//
9// Author           : Thierry Delisle
10// Created On       : Thu May 09 15::37::05 2019
11// Last Modified By : Andrew Beach
12// Last Modified On : Fri May 17 11:25:00 2019
13// Update Count     : 1
14//
15
16#pragma once
17
18#include <list>
19
20#include "AST/Node.hpp"
21
22class Declaration;
23namespace ast {
24        class Decl;
25};
26
27std::list< Declaration * > convert( const std::list< ast::ptr< ast::Decl > > && translationUnit );
28std::list< ast::ptr< ast::Decl > > convert( const std::list< Declaration * > && translationUnit );
Note: See TracBrowser for help on using the repository browser.