Fix typo for hasAnyOverloadedOperatorName; NFC

This commit is contained in:
Keishi Hattori 2020-11-18 07:48:59 -05:00 committed by Aaron Ballman
parent bcaa198949
commit 871fe71f29
2 changed files with 3 additions and 3 deletions

View File

@ -2779,7 +2779,7 @@ cxxNewExpr(isArray())
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 @@ Usable as: Matcher&lt;<a href="https://clang.llvm.org/doxygen/classclang_1_1Char
Matches overloaded operator names specified in strings without the
"operator" prefix: e.g. "&lt;&lt;".
hasAnyOverloadesOperatorName("+", "-")
hasAnyOverloadedOperatorName("+", "-")
Is equivalent to
anyOf(hasOverloadedOperatorName("+"), hasOverloadedOperatorName("-"))
</pre></td></tr>

View File

@ -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<