source: src/ResolvExpr/FindOpenVars.h@ b9fa85b

ADT arm-eh ast-experimental enum forall-pointer-decay jacob/cs343-translation new-ast-unique-expr pthread-emulation qualifiedEnum
Last change on this file since b9fa85b was 85dac33, checked in by Andrew Beach <ajbeach@…>, 6 years ago

Added 'const' in some leaf positions where it doesn't seem to effect much.

  • Property mode set to 100644
File size: 1.3 KB
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//
[51b73452]15
[6b0b624]16#pragma once
[51b73452]17
[f474e91]18#include "AST/TypeEnvironment.hpp" // for AssertionSet, OpenVarSet
[ea6332d]19#include "ResolvExpr/TypeEnvironment.h" // for AssertionSet, OpenVarSet
20
21class Type;
[f474e91]22namespace ast {
23 class Type;
24}
[51b73452]25
26namespace ResolvExpr {
[eb50842]27 // Updates open and closed variables and their associated assertions
[85dac33]28 void findOpenVars( const Type *type, OpenVarSet &openVars, OpenVarSet &closedVars, AssertionSet &needAssertions, AssertionSet &haveAssertions, bool firstIsOpen );
[f474e91]29
30 enum FirstMode { FirstClosed, FirstOpen };
31
32 // Updates open and closed variables and their associated assertions
33 void findOpenVars(
34 const ast::Type * type, ast::OpenVarSet & open, ast::OpenVarSet & closed,
35 ast::AssertionSet & need, ast::AssertionSet & have, FirstMode firstIsOpen );
[51b73452]36} // namespace ResolvExpr
37
[a32b204]38// Local Variables: //
39// tab-width: 4 //
40// mode: c++ //
41// compile-command: "make install" //
42// End: //
Note: See TracBrowser for help on using the repository browser.