Changeset 0bd3faf for src/ResolvExpr/ConversionCost.h
- Timestamp:
- Nov 13, 2023, 1:40:12 PM (11 months ago)
- Branches:
- master
- Children:
- 6ea85b22
- Parents:
- 25f2798
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/ConversionCost.h
r25f2798 r0bd3faf 23 23 #include "AST/Pass.hpp" // for WithShortCircuiting 24 24 25 namespace SymTab {26 class Indexer;27 } // namespace SymTab28 29 25 namespace ResolvExpr { 30 class TypeEnvironment;31 26 32 27 // Some function pointer types, differ in return type. … … 44 39 PtrsCalculation func ); 45 40 46 #warning when the old ConversionCost is removed, get ride of the _new suffix. 47 class ConversionCost_new : public ast::WithShortCircuiting { 41 class ConversionCost : public ast::WithShortCircuiting { 48 42 protected: 49 43 const ast::Type * dst; … … 57 51 Cost result() { return cost; } 58 52 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, 60 54 const ast::TypeEnvironment & env, CostCalculation costCalc ) : 61 55 dst( dst ), srcIsLvalue( srcIsLvalue ), symtab( symtab ), env( env ),
Note: See TracChangeset
for help on using the changeset viewer.