source: src/ResolvExpr/RenameVars.h@ 53452de

ADT aaron-thesis arm-eh ast-experimental cleanup-dtors deferred_resn demangler enum forall-pointer-decay jacob/cs343-translation jenkins-sandbox new-ast new-ast-unique-expr new-env no_list persistent-indexer pthread-emulation qualifiedEnum resolv-new with_gc
Last change on this file since 53452de was ad51cc2, checked in by Rob Schluntz <rschlunt@…>, 8 years ago

Convert RenameVars to PassVisitor

  • Property mode set to 100644
File size: 1.0 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//
[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//
[51b73452]15
[6b0b624]16#pragma once
[51b73452]17
[ea6332d]18#include <list> // for list
19#include <map> // for map
20#include <string> // for string
[51b73452]21
[ea6332d]22#include "SynTree/SynTree.h" // for Visitor Nodes
23#include "SynTree/Visitor.h" // for Visitor
[51b73452]24
25namespace ResolvExpr {
[0f19d763]26 /// Provides a consistent renaming of forall type names in a hierarchy by prefixing them with a unique "level" ID
[ad51cc2]27 void renameTyVars( Type * );
[a32b204]28
[ad51cc2]29 /// resets internal state of renamer to avoid overflow
30 void resetTyVarRenaming();
[51b73452]31} // namespace ResolvExpr
32
[a32b204]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.