Changeset c7f9f53 for src


Ignore:
Timestamp:
Dec 4, 2023, 5:01:07 PM (13 months ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
master
Children:
ebadb5d
Parents:
539a8c8
Message:

Moved include from Decl header. Removed some old ast code from the Parser.

Location:
src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Decl.cpp

    r539a8c8 rc7f9f53  
    2121
    2222#include "Common/Eval.h"       // for eval
     23#include "Common/SemanticError.h"
    2324
    2425#include "Fwd.hpp"             // for UniqueId
  • src/AST/Decl.hpp

    r539a8c8 rc7f9f53  
    3030#include "Visitor.hpp"
    3131#include "Common/utility.h"
    32 #include "Common/SemanticError.h"                                               // error_str
    3332
    3433// Must be included in *all* AST classes; should be #undef'd at the end of the file
  • src/Parser/ParseNode.h

    r539a8c8 rc7f9f53  
    3333#include "Parser/parserutility.h"  // for maybeBuild, maybeCopy
    3434
    35 class Attribute;
    36 class Declaration;
    3735struct DeclarationNode;
    38 class DeclarationWithType;
    39 class Initializer;
    4036class InitializerNode;
    4137class ExpressionNode;
  • src/Parser/TypeData.h

    r539a8c8 rc7f9f53  
    133133        ast::Init * init = nullptr, std::vector<ast::ptr<ast::Attribute>> && attributes = std::vector<ast::ptr<ast::Attribute>>() );
    134134ast::FunctionType * buildFunctionType( const TypeData * );
    135 ast::Decl * addEnumBase( Declaration *, const TypeData * );
    136135void buildKRFunction( const TypeData::Function_t & function );
    137136
Note: See TracChangeset for help on using the changeset viewer.