Author: Keishi Hattori Date: 2020-11-18T07:48:59-05:00 New Revision: 871fe71f2951cb19421a2b47ddb54ed6b3c8cba2
URL: https://github.com/llvm/llvm-project/commit/871fe71f2951cb19421a2b47ddb54ed6b3c8cba2 DIFF: https://github.com/llvm/llvm-project/commit/871fe71f2951cb19421a2b47ddb54ed6b3c8cba2.diff LOG: Fix typo for hasAnyOverloadedOperatorName; NFC Added: Modified: clang/docs/LibASTMatchersReference.html clang/include/clang/ASTMatchers/ASTMatchers.h Removed: ################################################################################ diff --git a/clang/docs/LibASTMatchersReference.html b/clang/docs/LibASTMatchersReference.html index d348bc80e792..d9fa3c2830fb 100644 --- a/clang/docs/LibASTMatchersReference.html +++ b/clang/docs/LibASTMatchersReference.html @@ -2779,7 +2779,7 @@ <h2 id="narrowing-matchers">Narrowing Matchers</h2> Matches overloaded operator names specified in strings without the "operator" prefix: e.g. "<<". - hasAnyOverloadesOperatorName("+", "-") + hasAnyOverloadedOperatorName("+", "-") Is equivalent to anyOf(hasOverloadedOperatorName("+"), hasOverloadedOperatorName("-")) </pre></td></tr> @@ -3400,7 +3400,7 @@ <h2 id="narrowing-matchers">Narrowing Matchers</h2> Matches overloaded operator names specified in strings without the "operator" prefix: e.g. "<<". - hasAnyOverloadesOperatorName("+", "-") + hasAnyOverloadedOperatorName("+", "-") Is equivalent to anyOf(hasOverloadedOperatorName("+"), hasOverloadedOperatorName("-")) </pre></td></tr> diff --git a/clang/include/clang/ASTMatchers/ASTMatchers.h b/clang/include/clang/ASTMatchers/ASTMatchers.h index 39274331a12e..d8b049f45341 100644 --- a/clang/include/clang/ASTMatchers/ASTMatchers.h +++ b/clang/include/clang/ASTMatchers/ASTMatchers.h @@ -2825,7 +2825,7 @@ hasOverloadedOperatorName(StringRef Name) { /// Matches overloaded operator names specified in strings without the /// "operator" prefix: e.g. "<<". /// -/// hasAnyOverloadesOperatorName("+", "-") +/// hasAnyOverloadedOperatorName("+", "-") /// Is equivalent to /// anyOf(hasOverloadedOperatorName("+"), hasOverloadedOperatorName("-")) extern const internal::VariadicFunction< _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits