source: src/ResolvExpr/CommonType.hpp @ 6ece306

ADT
Last change on this file since 6ece306 was 5bf3976, checked in by Andrew Beach <ajbeach@…>, 22 months ago

Header Clean-Up: Created new headers for new AST typeops and moved declarations.

  • 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
23class Type;
24namespace SymTab {
25        class Indexer;
26}
27
28namespace ResolvExpr {
29
30Type * commonType(
31        Type * type1, Type * type2, bool widenFirst, bool widenSecond,
32        const SymTab::Indexer & indexer, TypeEnvironment & env,
33        const OpenVarSet & openVars );
34ast::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        const ast::SymbolTable & symtab );
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.