From: Dave Lee Date: Sat, 11 Nov 2017 23:53:27 +0000 (+0000) Subject: Fix AST matcher documentation typo X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3e80fc77381dc8ae6ad54c74968e217e996bbb00;p=clang Fix AST matcher documentation typo git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@317993 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/LibASTMatchersReference.html b/docs/LibASTMatchersReference.html index 4cddea8699..c0221c1c66 100644 --- a/docs/LibASTMatchersReference.html +++ b/docs/LibASTMatchersReference.html @@ -1255,7 +1255,7 @@ NSString's "alloc". This matcher should match both message sends. Matcher<Stmt>objcThrowStmtMatcher<ObjCAtThrowStmt>... -
Matches Objective-C @try statements.
+
Matches Objective-C @throw statements.
 
 Example matches @throw
   @throw obj;
diff --git a/include/clang/ASTMatchers/ASTMatchers.h b/include/clang/ASTMatchers/ASTMatchers.h
index 34e6b42c68..c2abb983eb 100644
--- a/include/clang/ASTMatchers/ASTMatchers.h
+++ b/include/clang/ASTMatchers/ASTMatchers.h
@@ -1265,7 +1265,7 @@ const internal::VariadicDynCastAllOfMatcher<
   Decl,
   ObjCPropertyDecl> objcPropertyDecl;
 
-/// \brief Matches Objective-C @try statements.
+/// \brief Matches Objective-C @throw statements.
 ///
 /// Example matches @throw
 /// \code