ADT
        arm-eh
        ast-experimental
        enum
        forall-pointer-decay
        jacob/cs343-translation
        jenkins-sandbox
        new-ast
        new-ast-unique-expr
        pthread-emulation
        qualifiedEnum
      
      
        
          | Last change
 on this file since 462a7c7 was             f474e91, checked in by Aaron Moss <a3moss@…>, 6 years ago | 
        
          | 
Port unification calculations to new AST
 | 
        
          | 
              
Property                 mode
 set to                 100644 | 
        
          | File size:
            1.3 KB | 
      
      
| Rev | Line |  | 
|---|
| [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 |  | 
|---|
|  | 21 | class Type; | 
|---|
| [f474e91] | 22 | namespace ast { | 
|---|
|  | 23 | class Type; | 
|---|
|  | 24 | } | 
|---|
| [51b73452] | 25 |  | 
|---|
|  | 26 | namespace ResolvExpr { | 
|---|
| [eb50842] | 27 | // Updates open and closed variables and their associated assertions | 
|---|
| [a32b204] | 28 | void findOpenVars( 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.