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:
Ted Kremenek 2014-03-06 22:13:17 +00:00
parent 046c8e1a3a
commit 93998f3a58

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