Last change
on this file since d22bf87 was
251ce80,
checked in by Fangren Yu <f37yu@…>, 17 months ago
|
remove reference to symbol table in unify
|
-
Property mode set to
100644
|
File size:
1.2 KB
|
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 | // CommonType.hpp -- |
---|
8 | // |
---|
9 | // Author : Andrew Beach |
---|
10 | // Created On : Tue Jan 17 16:52:00 2023 |
---|
11 | // Last Modified By : Andrew Beach |
---|
12 | // Last Modified On : Tue Jan 17 16:52:00 2023 |
---|
13 | // Update Count : 0 |
---|
14 | // |
---|
15 | |
---|
16 | #pragma once |
---|
17 | |
---|
18 | #include "AST/Fwd.hpp" |
---|
19 | #include "AST/TypeEnvironment.hpp" // for AssertionSet, OpenVarSet |
---|
20 | #include "TypeEnvironment.h" // for AssertionSet, OpenVarSet |
---|
21 | #include "WidenMode.h" // for WidenMode |
---|
22 | |
---|
23 | class Type; |
---|
24 | namespace SymTab { |
---|
25 | class Indexer; |
---|
26 | } |
---|
27 | |
---|
28 | namespace ResolvExpr { |
---|
29 | |
---|
30 | Type * commonType( |
---|
31 | Type * type1, Type * type2, bool widenFirst, bool widenSecond, |
---|
32 | const SymTab::Indexer & indexer, TypeEnvironment & env, |
---|
33 | const OpenVarSet & openVars ); |
---|
34 | ast::ptr< ast::Type > commonType( |
---|
35 | const ast::ptr< ast::Type > & type1, const ast::ptr< ast::Type > & type2, |
---|
36 | ast::TypeEnvironment & env, |
---|
37 | ast::AssertionSet & need, ast::AssertionSet & have, |
---|
38 | const ast::OpenVarSet & open, WidenMode widen); |
---|
39 | |
---|
40 | } |
---|
41 | |
---|
42 | // Local Variables: // |
---|
43 | // tab-width: 4 // |
---|
44 | // mode: c++ // |
---|
45 | // compile-command: "make install" // |
---|
46 | // End: // |
---|
Note: See
TracBrowser
for help on using the repository browser.