[DebugInfo] Delete unused DIVariable::getSource

This commit is contained in:
Fangrui Song 2021-03-04 21:53:13 -08:00
parent 9e28b89827
commit 063b19dea6

View File

@ -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); }