source: src/ResolvExpr/RenameVars.h@ 3f4f30a

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

Remove BaseSyntaxNode and clean-up.

  • Property mode set to 100644
File size: 904 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// RenameVars.h --
8//
9// Author : Richard C. Bilson
10// Created On : Sun May 17 12:10:28 2015
11// Last Modified By : Peter A. Buhr
12// Last Modified On : Sat Jul 22 09:33:54 2017
13// Update Count : 4
14//
15
16#pragma once
17
18namespace ast {
19 class Type;
20}
21
22namespace ResolvExpr {
23 enum RenameMode {
24 GEN_USAGE, // for type in VariableExpr
25 GEN_EXPR_ID // for type in decl
26 };
27 const ast::Type * renameTyVars( const ast::Type *, RenameMode mode = GEN_USAGE, bool reset = true );
28
29 /// resets internal state of renamer to avoid overflow
30 void resetTyVarRenaming();
31} // namespace ResolvExpr
32
33// Local Variables: //
34// tab-width: 4 //
35// mode: c++ //
36// compile-command: "make install" //
37// End: //
Note: See TracBrowser for help on using the repository browser.