projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Simplify some getNode calls.
[oota-llvm.git]
/
include
/
llvm
/
TypeSymbolTable.h
diff --git
a/include/llvm/TypeSymbolTable.h
b/include/llvm/TypeSymbolTable.h
index ffea6d7340524246f23da609907dd85c8147771c..f4e641002825f43a11b677d6ac6ecf08bce8ff5d 100644
(file)
--- a/
include/llvm/TypeSymbolTable.h
+++ b/
include/llvm/TypeSymbolTable.h
@@
-2,8
+2,8
@@
//
// The LLVM Compiler Infrastructure
//
//
// The LLVM Compiler Infrastructure
//
-// This file
was developed by Reid Spencer. It is distributed under the
-//
University of Illinois Open Source License.
See LICENSE.TXT for details.
+// This file
is distributed under the University of Illinois Open Source
+//
License.
See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
//
//===----------------------------------------------------------------------===//
//
@@
-43,7
+43,7
@@
public:
/// @{
public:
/// @{
public:
- TypeSymbolTable() {}
+ TypeSymbolTable()
:LastUnique(0)
{}
~TypeSymbolTable();
/// @}
~TypeSymbolTable();
/// @}
@@
-98,10
+98,6
@@
public:
/// @{
public:
/// @{
public:
- /// This method will strip the symbol table of its names
- /// @brief Strip the symbol table.
- bool strip();
-
/// Inserts a type into the symbol table with the specified name. There can be
/// a many-to-one mapping between names and types. This method allows a type
/// with an existing entry in the symbol table to get a new name.
/// Inserts a type into the symbol table with the specified name. There can be
/// a many-to-one mapping between names and types. This method allows a type
/// with an existing entry in the symbol table to get a new name.
@@
-113,11
+109,6
@@
public:
/// @returns the Type that was erased from the symbol table.
Type* remove(iterator TI);
/// @returns the Type that was erased from the symbol table.
Type* remove(iterator TI);
- /// Remove a specific Type from the symbol table. This isn't fast, linear
- /// search, O(n), algorithm.
- /// @returns true if the erase was successful (TI was found)
- bool remove(Type* TI);
-
/// @}
/// @name AbstractTypeUser Methods
/// @{
/// @}
/// @name AbstractTypeUser Methods
/// @{