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 ef63166 commit 42eb648Copy full SHA for 42eb648
clang/lib/ASTMatchers/LowLevelHelpers.cpp
@@ -77,7 +77,8 @@ static void matchEachArgumentWithParamTypeImpl(
77
QualType ParamType;
78
if (FProto && FProto->getNumParams() > ParamIndex)
79
ParamType = FProto->getParamType(ParamIndex);
80
- else if (const FunctionDecl *FD = getCallee(Node); FD && FD->getNumParams() > ParamIndex)
+ else if (const FunctionDecl *FD = getCallee(Node);
81
+ FD && FD->getNumParams() > ParamIndex)
82
ParamType = FD->getParamDecl(ParamIndex)->getType();
83
else
84
continue;
0 commit comments