We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d763fe commit 1d07824Copy full SHA for 1d07824
clang/lib/Parse/ParseHLSLRootSignature.cpp
@@ -89,10 +89,9 @@ bool RootSignatureParser::ParseRootElement() {
89
switch (CurToken.Kind) {
90
case TokenKind::kw_DescriptorTable:
91
return ParseDescriptorTable();
92
- default:
93
- llvm_unreachable("Switch for an expected token was not provided");
+ default: break;
94
}
95
- return true;
+ llvm_unreachable("Switch for an expected token was not provided");
96
97
98
bool RootSignatureParser::ParseDescriptorTable() {
0 commit comments