mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-16 17:38:14 +00:00
DebugInfo: Remove dead DIType::operator DITypeRef(), NFC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234198 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e009b6fd92
commit
0e89353f21
@ -355,12 +355,6 @@ public:
|
||||
return *get();
|
||||
}
|
||||
|
||||
operator DITypeRef() const {
|
||||
assert(isType() &&
|
||||
"constructing DITypeRef from an MDNode that is not a type");
|
||||
return DITypeRef(&*getRef());
|
||||
}
|
||||
|
||||
bool Verify() const;
|
||||
|
||||
DIScopeRef getContext() const { return DIScopeRef::get(get()->getScope()); }
|
||||
|
Loading…
x
Reference in New Issue
Block a user