Changeset a056f56


Ignore:
Timestamp:
Nov 13, 2020, 5:02:43 PM (13 months ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast-unique-expr
Children:
a0ba5e6
Parents:
ac12f1f
Message:

Fixed forward declaration of TranslationUnit?

Location:
src/AST
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Convert.hpp

    rac12f1f ra056f56  
    2020class Declaration;
    2121namespace ast {
    22         class TranslationUnit;
     22        struct TranslationUnit;
    2323};
    2424
  • src/AST/Fwd.hpp

    rac12f1f ra056f56  
    137137typedef unsigned int UniqueId;
    138138
    139 class TranslationUnit;
     139struct TranslationUnit;
    140140// TODO: Get from the TranslationUnit:
    141141extern Type * sizeType;
  • src/AST/Pass.proto.hpp

    rac12f1f ra056f56  
    2323class Pass;
    2424
    25 class TranslationUnit;
     25struct TranslationUnit;
    2626
    2727struct PureVisitor;
     
    274274        template< typename core_t >
    275275        static auto on_error (core_t & core, ptr<Decl> & decl, int) -> decltype(core.on_error(decl)) {
    276                 return core.on_error(decl); 
     276                return core.on_error(decl);
    277277        }
    278278
Note: See TracChangeset for help on using the changeset viewer.