source: src/ResolvExpr/FindOpenVars.h @ da22726

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

Most of ResolvExpr? was written before the new style standard. Some files updated, focus on headers.

  • Property mode set to 100644
File size: 1006 bytes
RevLine 
[a32b204]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// FindOpenVars.h --
8//
9// Author           : Richard C. Bilson
10// Created On       : Sun May 17 09:46:04 2015
11// Last Modified By : Peter A. Buhr
[6b0b624]12// Last Modified On : Sat Jul 22 09:35:18 2017
13// Update Count     : 3
[a32b204]14//
[51b7345]15
[6b0b624]16#pragma once
[51b7345]17
[f474e91]18#include "AST/TypeEnvironment.hpp"  // for AssertionSet, OpenVarSet
[ea6332d]19
[f474e91]20namespace ast {
21        class Type;
22}
[51b7345]23
24namespace ResolvExpr {
[f474e91]25
[2908f08]26enum FirstMode { FirstClosed, FirstOpen };
27
28// Updates open and closed variables and their associated assertions
29void findOpenVars(
30        const ast::Type * type, ast::OpenVarSet & open, ast::OpenVarSet & closed,
31        ast::AssertionSet & need, ast::AssertionSet & have, ast::TypeEnvironment & env, FirstMode firstIsOpen );
32
[51b7345]33} // namespace ResolvExpr
34
[a32b204]35// Local Variables: //
36// tab-width: 4 //
37// mode: c++ //
38// compile-command: "make install" //
39// End: //
Note: See TracBrowser for help on using the repository browser.