File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
clang/unittests/ASTMatchers Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -538,7 +538,7 @@ getLocOfTagDeclFromType(const Type *const Node) {
538
538
return std::nullopt;
539
539
}
540
540
inline std::optional<SourceLocation>
541
- getLocOfTagDeclFromType (const void *const Node ) {
541
+ getLocOfTagDeclFromType (const void *const ) {
542
542
return std::nullopt;
543
543
}
544
544
@@ -619,7 +619,7 @@ template <typename T> class VerifyBoundNodeMatch : public BoundNodesCallback {
619
619
: Kind(Kind), MatchString(std::move(MatchString)),
620
620
RemainingMatches (MatchCount) {}
621
621
622
- bool shouldRemoveMatched (const T * const Node ) {
622
+ bool shouldRemoveMatched () {
623
623
--RemainingMatches;
624
624
return RemainingMatches == 0U ;
625
625
}
@@ -752,7 +752,7 @@ template <typename T> class VerifyBoundNodeMatch : public BoundNodesCallback {
752
752
return true ;
753
753
}
754
754
755
- if (Iter->shouldRemoveMatched (Node )) {
755
+ if (Iter->shouldRemoveMatched ()) {
756
756
FoundMatches.push_back (*Iter);
757
757
Matches.erase (Iter);
758
758
}
You can’t perform that action at this time.
0 commit comments