mirror of
https://github.com/RPCS3/llvm.git
synced 2025-04-11 18:42:01 +00:00
Fix 'not all control paths return' warning on windows builds. NFCI.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@310631 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
82056f0e2b
commit
92e2e47a06
@ -215,9 +215,7 @@ Error Tokenizer::consumeToken(const Kind TokenKind) {
|
||||
assert(false && "Cannot consume an invalid token.");
|
||||
}
|
||||
|
||||
// This silences the compilers which cannot notice that the execution
|
||||
// never reaches here.
|
||||
assert(false);
|
||||
llvm_unreachable("Unknown RCToken::Kind");
|
||||
}
|
||||
|
||||
bool Tokenizer::willNowRead(StringRef FollowingChars) const {
|
||||
|
Loading…
x
Reference in New Issue
Block a user