mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-13 13:00:24 +00:00
Fixup for r310621: Hint the compilers about unreachable code.
llvm-svn: 310623
This commit is contained in:
parent
d1ef0296e8
commit
cf83e96cf9
@ -214,6 +214,10 @@ Error Tokenizer::consumeToken(const Kind TokenKind) {
|
|||||||
case Kind::Invalid:
|
case Kind::Invalid:
|
||||||
assert(false && "Cannot consume an invalid token.");
|
assert(false && "Cannot consume an invalid token.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// This silences the compilers which cannot notice that the execution
|
||||||
|
// never reaches here.
|
||||||
|
assert(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Tokenizer::willNowRead(StringRef FollowingChars) const {
|
bool Tokenizer::willNowRead(StringRef FollowingChars) const {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user