source: src/AST/Convert.hpp @ 293dc1c

arm-ehjacob/cs343-translationnew-ast-unique-expr
Last change on this file since 293dc1c was 293dc1c, checked in by Andrew Beach <ajbeach@…>, 13 months ago

TranslationUnit? is now used at the top-level of the new-ast passes.

  • Property mode set to 100644
File size: 724 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
20class Declaration;
21namespace ast {
22        class TranslationUnit;
23};
24
25std::list< Declaration * > convert( const ast::TranslationUnit && translationUnit );
26ast::TranslationUnit convert( const std::list< Declaration * > && translationUnit );
Note: See TracBrowser for help on using the repository browser.