mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-25 23:00:15 +00:00
[DebugInfo] Delete unused DIVariable::getSource
This commit is contained in:
parent
9e28b89827
commit
063b19dea6
@ -3230,12 +3230,6 @@ public:
|
||||
return "";
|
||||
}
|
||||
|
||||
Optional<StringRef> getSource() const {
|
||||
if (auto *F = getFile())
|
||||
return F->getSource();
|
||||
return None;
|
||||
}
|
||||
|
||||
MDString *getRawName() const { return getOperandAs<MDString>(0); }
|
||||
Metadata *getRawFile() const { return getOperand(1); }
|
||||
MDString *getRawGetterName() const { return getOperandAs<MDString>(2); }
|
||||
|
Loading…
Reference in New Issue
Block a user