mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-12 20:48:17 +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:
|
||||
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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user