mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-21 19:32:16 +00:00
AsmParser: Remove dead code, NFC
This condition is checked in the generic `ParseMDField()`. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228208 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
321b43e7cc
commit
7ec73f04a8
@ -2942,10 +2942,6 @@ bool LLParser::ParseMDField(LocTy Loc, StringRef Name, DwarfTagField &Result) {
|
||||
if (Lex.getKind() == lltok::APSInt)
|
||||
return ParseMDField(Loc, Name, static_cast<MDUnsignedField &>(Result));
|
||||
|
||||
if (Result.Seen)
|
||||
return Error(Loc,
|
||||
"field '" + Name + "' cannot be specified more than once");
|
||||
|
||||
if (Lex.getKind() != lltok::DwarfTag)
|
||||
return TokError("expected DWARF tag");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user