mirror of
https://github.com/RPCS3/llvm.git
synced 2025-04-15 12:30:22 +00:00
Remove unused method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14726 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9fb6cf1d82
commit
36002e43ec
@ -126,11 +126,6 @@ public:
|
|||||||
/// @brief Debugging support: print to stderr
|
/// @brief Debugging support: print to stderr
|
||||||
virtual void dump() const;
|
virtual void dump() const;
|
||||||
|
|
||||||
/// setName - Associate the name with this type in the symbol table, but don't
|
|
||||||
/// set the local name to be equal specified name.
|
|
||||||
///
|
|
||||||
virtual void setName(const std::string &Name, SymbolTable *ST = 0);
|
|
||||||
|
|
||||||
//===--------------------------------------------------------------------===//
|
//===--------------------------------------------------------------------===//
|
||||||
// Property accessors for dealing with types... Some of these virtual methods
|
// Property accessors for dealing with types... Some of these virtual methods
|
||||||
// are defined in private classes defined in Type.cpp for primitive types.
|
// are defined in private classes defined in Type.cpp for primitive types.
|
||||||
|
@ -49,11 +49,6 @@ Type::Type( const std::string& name, TypeID id )
|
|||||||
Abstract = false;
|
Abstract = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Type::setName(const std::string &Name, SymbolTable *ST) {
|
|
||||||
assert(ST && "Type::setName - Must provide symbol table argument!");
|
|
||||||
if (!Name.empty()) ST->insert(Name, this);
|
|
||||||
}
|
|
||||||
|
|
||||||
const Type *Type::getPrimitiveType(TypeID IDNumber) {
|
const Type *Type::getPrimitiveType(TypeID IDNumber) {
|
||||||
switch (IDNumber) {
|
switch (IDNumber) {
|
||||||
case VoidTyID : return VoidTy;
|
case VoidTyID : return VoidTy;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user