source: src/ResolvExpr/CastCost.hpp @ 0a9b5c1

Last change on this file since 0a9b5c1 was 0bd3faf, checked in by Andrew Beach <ajbeach@…>, 12 months ago

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

  • Property mode set to 100644
File size: 847 bytes
Line 
1//
2// Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo
3//
4// The contents of this file are covered under the licence agreement in the
5// file "LICENCE" distributed with Cforall.
6//
7// CastCost.hpp -- Cost of a cast.
8//
9// Author           : Andrew Beach
10// Created On       : Fri Dec  9 11:28:00 2022
11// Last Modified By : Andrew Beach
12// Last Modified On : Fri Dec  9 11:28:00 2022
13// Update Count     : 0
14//
15
16#pragma once
17
18#include "ResolvExpr/Cost.h"     // for Cost
19
20namespace ast {
21        class SymbolTable;
22        class Type;
23        class TypeEnvironment;
24}
25
26namespace ResolvExpr {
27
28Cost castCost(
29        const ast::Type * src, const ast::Type * dst, bool srcIsLvalue,
30        const ast::SymbolTable & symtab, const ast::TypeEnvironment & env );
31
32}
33
34// Local Variables: //
35// tab-width: 4 //
36// mode: c++ //
37// compile-command: "make install" //
38// End: //
Note: See TracBrowser for help on using the repository browser.