Remove unreachable 'return true' always dominated by 'return Error' or 'return false'.

llvm-svn: 203171
This commit is contained in:
Ted Kremenek 2014-03-06 22:13:17 +00:00
parent dec97f82f7
commit 297febee57
1 changed files with 2 additions and 3 deletions

View File

@ -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