[ELF] - Remove dead code. NFC.

'Pos' can never be 0.

llvm-svn: 336435
This commit is contained in:
George Rimar
2018-07-06 13:23:49 +00:00
parent 35bd8f5d1e
commit 92bd49e874

View File

@@ -66,8 +66,6 @@ size_t ScriptLexer::getColumnNumber() {
std::string ScriptLexer::getCurrentLocation() {
std::string Filename = getCurrentMB().getBufferIdentifier();
if (!Pos)
return Filename;
return (Filename + ":" + Twine(getLineNumber())).str();
}