Ignore:
Timestamp:
Nov 3, 2020, 4:06:20 PM (13 months ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast-unique-expr
Children:
4406887
Parents:
daefe93
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Convert.hpp

    rdaefe93 r293dc1c  
    1818#include <list>
    1919
    20 #include "AST/Node.hpp"
    21 
    2220class Declaration;
    2321namespace ast {
    24         class Decl;
     22        class TranslationUnit;
    2523};
    2624
    27 std::list< Declaration * > convert( const std::list< ast::ptr< ast::Decl > > && translationUnit );
    28 std::list< ast::ptr< ast::Decl > > convert( const std::list< Declaration * > && translationUnit );
     25std::list< Declaration * > convert( const ast::TranslationUnit && translationUnit );
     26ast::TranslationUnit convert( const std::list< Declaration * > && translationUnit );
Note: See TracChangeset for help on using the changeset viewer.