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) {
538538 return std::nullopt ;
539539}
540540inline 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 }
You can’t perform that action at this time.
0 commit comments