mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-30 07:14:53 +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…
x
Reference in New Issue
Block a user