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 6b4301e commit 4016876Copy full SHA for 4016876
clang/lib/Sema/SemaHLSL.cpp
@@ -1308,7 +1308,7 @@ bool SemaHLSL::handleRootSignatureElements(
1308
} else if (const auto *Table =
1309
std::get_if<llvm::hlsl::rootsig::DescriptorTable>(&Elem)) {
1310
assert(UnboundClauses.size() == Table->NumClauses &&
1311
- "Wrong number of clauses in table?");
+ "Number of unbound elements must match the number of clauses");
1312
for (const auto &[Clause, ClauseElem] : UnboundClauses) {
1313
uint32_t LowerBound(Clause->Reg.Number);
1314
// Relevant error will have already been reported above and needs to be
0 commit comments