ADT
Last change
on this file since 28f8f15 was 5bf3976, checked in by Andrew Beach <ajbeach@…>, 3 years ago |
Header Clean-Up: Created new headers for new AST typeops and moved declarations.
|
-
Property mode
set to
100644
|
File size:
1.0 KB
|
Rev | Line | |
---|
[5bf3976] | 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 | class Type;
|
---|
| 21 | namespace SymTab {
|
---|
| 22 | class Indexer;
|
---|
| 23 | }
|
---|
| 24 | namespace ast {
|
---|
| 25 | class SymbolTable;
|
---|
| 26 | class Type;
|
---|
| 27 | class TypeEnvironment;
|
---|
| 28 | }
|
---|
| 29 |
|
---|
| 30 | namespace ResolvExpr {
|
---|
| 31 |
|
---|
| 32 | class TypeEnvironment;
|
---|
| 33 |
|
---|
| 34 | Cost castCost(
|
---|
| 35 | const Type * src, const Type * dest, bool srcIsLvalue,
|
---|
| 36 | const SymTab::Indexer & indexer, const TypeEnvironment & env );
|
---|
| 37 | Cost castCost(
|
---|
| 38 | const ast::Type * src, const ast::Type * dst, bool srcIsLvalue,
|
---|
| 39 | const ast::SymbolTable & symtab, const ast::TypeEnvironment & env );
|
---|
| 40 |
|
---|
| 41 | }
|
---|
| 42 |
|
---|
| 43 | // Local Variables: //
|
---|
| 44 | // tab-width: 4 //
|
---|
| 45 | // mode: c++ //
|
---|
| 46 | // compile-command: "make install" //
|
---|
| 47 | // End: //
|
---|
Note:
See
TracBrowser
for help on using the repository browser.