mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-23 17:29:19 +00:00
Remove unreachable 'return true' always dominated by 'return Error' or 'return false'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203171 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
046c8e1a3a
commit
93998f3a58
@ -805,9 +805,8 @@ bool AsmParser::parsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc) {
|
||||
getContext());
|
||||
EndLoc = FirstTokenLoc;
|
||||
return false;
|
||||
} else
|
||||
return Error(FirstTokenLoc, "invalid token in expression");
|
||||
return true;
|
||||
}
|
||||
return Error(FirstTokenLoc, "invalid token in expression");
|
||||
}
|
||||
}
|
||||
// Parse symbol variant
|
||||
|
Loading…
Reference in New Issue
Block a user