Skip to content

Commit c2923a6

Browse files
committed
[NFC] rm unused arg
1 parent 6012540 commit c2923a6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clang/unittests/ASTMatchers/ASTMatchersTest.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ getLocOfTagDeclFromType(const Type *const Node) {
538538
return std::nullopt;
539539
}
540540
inline std::optional<SourceLocation>
541-
getLocOfTagDeclFromType(const void *const Node) {
541+
getLocOfTagDeclFromType(const void *const) {
542542
return std::nullopt;
543543
}
544544

@@ -619,7 +619,7 @@ template <typename T> class VerifyBoundNodeMatch : public BoundNodesCallback {
619619
: Kind(Kind), MatchString(std::move(MatchString)),
620620
RemainingMatches(MatchCount) {}
621621

622-
bool shouldRemoveMatched(const T *const Node) {
622+
bool shouldRemoveMatched() {
623623
--RemainingMatches;
624624
return RemainingMatches == 0U;
625625
}
@@ -752,7 +752,7 @@ template <typename T> class VerifyBoundNodeMatch : public BoundNodesCallback {
752752
return true;
753753
}
754754

755-
if (Iter->shouldRemoveMatched(Node)) {
755+
if (Iter->shouldRemoveMatched()) {
756756
FoundMatches.push_back(*Iter);
757757
Matches.erase(Iter);
758758
}

0 commit comments

Comments
 (0)