mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
Eliminate this form of SymbolTable::remove. It ignores the type argument
anyway. Add a form that takes a type_iterator for the C backend. llvm-svn: 13873
This commit is contained in:
parent
d702e10ea0
commit
66a81809ff
@ -207,11 +207,10 @@ public:
|
||||
return removeEntry(PI, PI->second.find(Name));
|
||||
}
|
||||
|
||||
/// Remove a type with the specified name from the symbol table.
|
||||
/// Remove a type at the specified position in the symbol table.
|
||||
/// @returns the removed Type.
|
||||
/// @brief Remove a named tyep from the symbol table.
|
||||
inline Type* remove(const std::string& Name, Type* T ) {
|
||||
return removeEntry( tmap.find(Name) );
|
||||
inline Type* remove(type_iterator TI) {
|
||||
return removeEntry(TI);
|
||||
}
|
||||
|
||||
/// Removes a specific value from the symbol table.
|
||||
|
Loading…
Reference in New Issue
Block a user