Changeset 01aeade for translator/Common/UniqueName.h
- Timestamp:
- May 19, 2015, 7:57:09 AM (9 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
- Children:
- a08ba92
- Parents:
- 51587aa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
translator/Common/UniqueName.h
r51587aa r01aeade 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // XXX.cc--7 // UniqueName.h -- 8 8 // 9 9 // Author : Richard C. Bilson 10 10 // Created On : Mon May 18 07:44:20 2015 11 // Last Modified By : 12 // Last Modified On : 13 // Update Count : 011 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Tue May 19 07:24:20 2015 13 // Update Count : 1 14 14 // 15 /*16 * This file is part of the Cforall project17 *18 * $Id: UniqueName.h,v 1.1 2002/04/30 03:30:14 rcbilson Exp $19 *20 */21 15 22 16 #ifndef UNIQUENAME_H … … 25 19 #include <string> 26 20 27 class UniqueName 28 { 29 public: 30 UniqueName( const std::string &base = "" ); 31 32 std::string newName( const std::string &additional = "" ); 33 34 private: 35 std::string base; 36 int count; 21 class UniqueName { 22 public: 23 UniqueName( const std::string &base = "" ); 24 std::string newName( const std::string &additional = "" ); 25 private: 26 std::string base; 27 int count; 37 28 }; 38 29 39 #endif /* #ifndef UNIQUENAME_H */ 30 #endif // UNIQUENAME_H 31 40 32 // Local Variables: // 41 33 // tab-width: 4 //
Note: See TracChangeset
for help on using the changeset viewer.