Skip to content

Commit

Permalink
[ASTMatchers] Make ParamIndex unsigned.
Browse files Browse the repository at this point in the history
This fixes a compiler error/warning in
https://lab.llvm.org/buildbot/#/builders/36/builds/15377.

Differential Revision: https://reviews.llvm.org/D115809

Reviewed-by: sammccall
  • Loading branch information
Felix Berger committed Dec 15, 2021
1 parent 1510595 commit 54ed30f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/include/clang/ASTMatchers/ASTMatchers.h
Expand Up @@ -4872,7 +4872,7 @@ AST_POLYMORPHIC_MATCHER_P2(forEachArgumentWithParamType,
}
}

int ParamIndex = 0;
unsigned ParamIndex = 0;
bool Matched = false;
unsigned NumArgs = Node.getNumArgs();
if (FProto && FProto->isVariadic())
Expand Down

0 comments on commit 54ed30f

Please sign in to comment.