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 3e814e8 commit 818adf9Copy full SHA for 818adf9
src/lib/AST/ASTVisitor.cpp
@@ -2328,7 +2328,7 @@ extractSFINAEInfo(QualType const T)
2328
Result.Type = resultType->getAsType();
2329
for (std::size_t I = 0; I < Args.size(); ++I)
2330
{
2331
- if (SFINAEControl->ControllingParams[I])
+ if (I < SFINAEControl->ControllingParams.size() && SFINAEControl->ControllingParams[I])
2332
2333
MRDOCS_SYMBOL_TRACE(Args[I], context_);
2334
TemplateArgument ArgsI = Args[I];
0 commit comments