Last change
on this file since 7f2bfb7 was
0bd3faf,
checked in by Andrew Beach <ajbeach@…>, 9 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 | |
---|
20 | namespace ast { |
---|
21 | class SymbolTable; |
---|
22 | class Type; |
---|
23 | class TypeEnvironment; |
---|
24 | } |
---|
25 | |
---|
26 | namespace ResolvExpr { |
---|
27 | |
---|
28 | Cost 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.