source: src/ResolvExpr/CommonType.hpp @ ab9c1b3

Last change on this file since ab9c1b3 was c6b4432, checked in by Andrew Beach <ajbeach@…>, 12 months ago

Remove BaseSyntaxNode? and clean-up.

  • Property mode set to 100644
File size: 946 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// 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 "WidenMode.h"              // for WidenMode
21
22namespace ResolvExpr {
23
24ast::ptr< ast::Type > commonType(
25        const ast::ptr< ast::Type > & type1, const ast::ptr< ast::Type > & type2,
26        ast::TypeEnvironment & env,
27        ast::AssertionSet & need, ast::AssertionSet & have,
28        const ast::OpenVarSet & open, WidenMode widen);
29
30}
31
32// Local Variables: //
33// tab-width: 4 //
34// mode: c++ //
35// compile-command: "make install" //
36// End: //
Note: See TracBrowser for help on using the repository browser.