forked from OSchip/llvm-project
Remove unreachable 'return true' always dominated by 'return Error' or 'return false'.
llvm-svn: 203171
This commit is contained in:
parent
dec97f82f7
commit
297febee57
|
@ -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