From 8a4adb3acfcffaf8882fd5d377575bdb3ec16b77 Mon Sep 17 00:00:00 2001 From: Stephane Moore Date: Sun, 12 May 2019 21:52:19 +0000 Subject: [PATCH] =?UTF-8?q?[clang]=20Regenerate=20AST=20matcher=20docs=20?= =?UTF-8?q?=F0=9F=93=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Summary: The documentation seems to have been manually edited in https://reviews.llvm.org/rGa282bde69e375985edd4c371b79864f617380ad5. This commit regenerates the documentation and commits the resulting diff. Reviewers: benhamilton, mwyman Reviewed By: mwyman Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D61769 llvm-svn: 360545 --- clang/docs/LibASTMatchersReference.html | 48 ++++++++++++------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/clang/docs/LibASTMatchersReference.html b/clang/docs/LibASTMatchersReference.html index a053bd1bb5f6d..255ec4271e365 100644 --- a/clang/docs/LibASTMatchersReference.html +++ b/clang/docs/LibASTMatchersReference.html @@ -3616,30 +3616,6 @@

Narrowing Matchers

-Matcher<ObjCMethodDecl>isClassMethod -
Returns true when the Objective-C method declaration is a class method.
-
-Example
-matcher = objcMethodDecl(isClassMethod())
-matches
-  @interface I + (void)foo; @end
-but not
-  @interface I - (void)bar; @end
-
- - -Matcher<ObjCMethodDecl>isInstanceMethod -
Returns true when the Objective-C method declaration is an instance method.
-
-Example
-matcher = objcMethodDecl(isInstanceMethod())
-matches
-  @interface I - (void)bar; @end
-but not
-  @interface I + (void)foo; @end
-
- - Matcher<ObjCMessageExpr>matchesSelectorstd::string RegExp
Matches ObjC selectors whose name contains
 a substring matched by the given RegExp.
@@ -3662,6 +3638,18 @@ 

Narrowing Matchers

+Matcher<ObjCMethodDecl>isClassMethod +
Returns true when the Objective-C method declaration is a class method.
+
+Example
+matcher = objcMethodDecl(isClassMethod())
+matches
+@interface I + (void)foo; @end
+but not
+@interface I - (void)bar; @end
+
+ + Matcher<ObjCMethodDecl>isDefinition
Matches if a declaration has a body attached.
 
@@ -3684,6 +3672,18 @@ 

Narrowing Matchers

+Matcher<ObjCMethodDecl>isInstanceMethod +
Returns true when the Objective-C method declaration is an instance method.
+
+Example
+matcher = objcMethodDecl(isInstanceMethod())
+matches
+@interface I - (void)bar; @end
+but not
+@interface I + (void)foo; @end
+
+ + Matcher<ParmVarDecl>hasDefaultArgument
Matches a declaration that has default arguments.