[PATCH] D91592: [ASTMatchers] Fix typo for hasAnyOverloadedOperatorName

Keishi Hattori via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 17 00:21:58 PST 2020


keishi created this revision.
keishi added a reviewer: aaron.ballman.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
keishi requested review of this revision.

Fix typo for hasAnyOverloadedOperatorName in doc and code comment.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D91592

Files:
  clang/docs/LibASTMatchersReference.html
  clang/include/clang/ASTMatchers/ASTMatchers.h


Index: clang/include/clang/ASTMatchers/ASTMatchers.h
===================================================================
--- clang/include/clang/ASTMatchers/ASTMatchers.h
+++ clang/include/clang/ASTMatchers/ASTMatchers.h
@@ -2825,7 +2825,7 @@
 /// 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<
Index: clang/docs/LibASTMatchersReference.html
===================================================================
--- clang/docs/LibASTMatchersReference.html
+++ clang/docs/LibASTMatchersReference.html
@@ -2779,7 +2779,7 @@
 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 @@
 Matches overloaded operator names specified in strings without the
 "operator" prefix: e.g. "<<".
 
-  hasAnyOverloadesOperatorName("+", "-")
+  hasAnyOverloadedOperatorName("+", "-")
 Is equivalent to
   anyOf(hasOverloadedOperatorName("+"), hasOverloadedOperatorName("-"))
 </pre></td></tr>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91592.305675.patch
Type: text/x-patch
Size: 1435 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201117/8a56a35b/attachment-0001.bin>


More information about the cfe-commits mailing list