source:
src/ResolvExpr/CastCost.hpp@
0497b6ba
Last change on this file since 0497b6ba was c92bdcc, checked in by , 17 months ago | |
---|---|
|
|
File size: 814 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 | namespace ast { |
19 | class SymbolTable; |
20 | class Type; |
21 | class TypeEnvironment; |
22 | } |
23 | |
24 | namespace ResolvExpr { |
25 | |
26 | class Cost; |
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.