[Sema] Fix a warning
This patch fixes: clang/lib/Sema/SemaTemplateVariadic.cpp:1069:22: error: variable 'TST' set but not used [-Werror,-Wunused-but-set-variable]
This commit is contained in:
parent
63195d3d7a
commit
65de318d18
@ -1071,6 +1071,7 @@ UnsignedOrNone Sema::getNumArgumentsInExpansionFromUnexpanded(
|
||||
.first.dyn_cast<const TemplateSpecializationType *>()) {
|
||||
// This is a dependent pack, we are not ready to expand it yet.
|
||||
assert(isPackProducingBuiltinTemplateName(TST->getTemplateName()));
|
||||
(void)TST;
|
||||
return std::nullopt;
|
||||
} else if (auto *PST =
|
||||
Unexpanded[I]
|
||||
|
Loading…
x
Reference in New Issue
Block a user