]> granicus.if.org Git - clang/commitdiff
Fix AST matcher documentation typo
authorDave Lee <davelee.com@gmail.com>
Sat, 11 Nov 2017 23:53:27 +0000 (23:53 +0000)
committerDave Lee <davelee.com@gmail.com>
Sat, 11 Nov 2017 23:53:27 +0000 (23:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@317993 91177308-0d34-0410-b5e6-96231b3b80d8

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

index 4cddea86991e748b4c5f94a77e155e3eb477aa65..c0221c1c66fe415e0d17cf9894b52f77f9eda8b7 100644 (file)
@@ -1255,7 +1255,7 @@ NSString's "alloc". This matcher should match both message sends.
 
 
 <tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('objcThrowStmt0')"><a name="objcThrowStmt0Anchor">objcThrowStmt</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ObjCAtThrowStmt.html">ObjCAtThrowStmt</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="objcThrowStmt0"><pre>Matches Objective-C @try statements.
+<tr><td colspan="4" class="doc" id="objcThrowStmt0"><pre>Matches Objective-C @throw statements.
 
 Example matches @throw
   @throw obj;
index 34e6b42c68980cd960b502480cbadad083cdfed3..c2abb983eb28519a9d823286eda0d6c9b80f16dd 100644 (file)
@@ -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