Last change
on this file since 9d4628b 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:
900 bytes
|
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 | // |
---|
[ea6332d] | 7 | // RenameVars.h -- |
---|
[a32b204] | 8 | // |
---|
| 9 | // Author : Richard C. Bilson |
---|
| 10 | // Created On : Sun May 17 12:10:28 2015 |
---|
| 11 | // Last Modified By : Peter A. Buhr |
---|
[6b0b624] | 12 | // Last Modified On : Sat Jul 22 09:33:54 2017 |
---|
| 13 | // Update Count : 4 |
---|
[a32b204] | 14 | // |
---|
[51b7345] | 15 | |
---|
[6b0b624] | 16 | #pragma once |
---|
[51b7345] | 17 | |
---|
[898ae07] | 18 | namespace ast { |
---|
| 19 | class Type; |
---|
| 20 | } |
---|
| 21 | |
---|
[51b7345] | 22 | namespace ResolvExpr { |
---|
[a32b204] | 23 | |
---|
[2908f08] | 24 | enum RenameMode { |
---|
| 25 | GEN_USAGE, // for type in VariableExpr |
---|
| 26 | GEN_EXPR_ID // for type in decl |
---|
| 27 | }; |
---|
| 28 | const ast::Type * renameTyVars( const ast::Type *, RenameMode mode = GEN_USAGE, bool reset = true ); |
---|
| 29 | |
---|
| 30 | /// Resets internal state of renamer to avoid overflow. |
---|
| 31 | void resetTyVarRenaming(); |
---|
| 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.