Skip to content

Commit 2e0e0e4

Browse files
committed
Shorten message
1 parent 3bccf78 commit 2e0e0e4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

clang/include/clang/ASTMatchers/ASTMatchersInternal.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -678,9 +678,7 @@ template <typename T> Matcher(MatcherInterface<T> *) -> Matcher<T>;
678678
// TODO: Remove in LLVM 23.
679679
template <typename T>
680680
[[deprecated(
681-
"makeMatcher() is deprecated and will be removed in LLVM 23. "
682-
"Uses of it can be replaced with direct calls to Matcher's "
683-
"constructor; with C++17's CTAD, template arguments will be deduced.")]]
681+
"Use CTAD constructor instead, 'makeMatcher' will be removed in LLVM 23.")]]
684682
inline Matcher<T> makeMatcher(MatcherInterface<T> *Implementation) {
685683
return Matcher<T>(Implementation);
686684
}

0 commit comments

Comments
 (0)