rename insertEntry to insert

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20484 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2005-03-06 05:55:40 +00:00
parent e4c872a8fa
commit f1b4d1dee6

View File

@ -233,7 +233,8 @@ void SymbolTable::insertEntry(const std::string &Name, const Type *VTy,
// insertEntry - Insert a value into the symbol table with the specified
// name...
//
void SymbolTable::insertEntry(const std::string& Name, const Type* T) {
void SymbolTable::insert(const std::string& Name, const Type* T) {
assert(T && "Can't insert null type into symbol table!");
// Check to see if there is a naming conflict. If so, rename this type!
std::string UniqueName = Name;