mirror of
https://github.com/intel/llvm.git
synced 2026-01-16 13:35:38 +08:00
[ELF] - Remove dead code. NFC.
'Pos' can never be 0. llvm-svn: 336435
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user