Ignore:
Timestamp:
Nov 13, 2023, 1:40:12 PM (6 months ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
master
Children:
6ea85b22
Parents:
25f2798
Message:

Removed forward declarations missed in the BaseSyntaxNode? removal. Removed code and modified names to support two versions of the ast.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/ConversionCost.h

    r25f2798 r0bd3faf  
    2323#include "AST/Pass.hpp"       // for WithShortCircuiting
    2424
    25 namespace SymTab {
    26         class Indexer;
    27 }  // namespace SymTab
    28 
    2925namespace ResolvExpr {
    30         class TypeEnvironment;
    3126
    3227// Some function pointer types, differ in return type.
     
    4439        PtrsCalculation func );
    4540
    46 #warning when the old ConversionCost is removed, get ride of the _new suffix.
    47 class ConversionCost_new : public ast::WithShortCircuiting {
     41class ConversionCost : public ast::WithShortCircuiting {
    4842protected:
    4943        const ast::Type * dst;
     
    5751        Cost result() { return cost; }
    5852
    59         ConversionCost_new( const ast::Type * dst, bool srcIsLvalue, const ast::SymbolTable & symtab,
     53        ConversionCost( const ast::Type * dst, bool srcIsLvalue, const ast::SymbolTable & symtab,
    6054                        const ast::TypeEnvironment & env, CostCalculation costCalc ) :
    6155                dst( dst ), srcIsLvalue( srcIsLvalue ), symtab( symtab ), env( env ),
Note: See TracChangeset for help on using the changeset viewer.