summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Lee <davelee.com@gmail.com>2017-11-11 23:53:27 +0000
committerDave Lee <davelee.com@gmail.com>2017-11-11 23:53:27 +0000
commit3e80fc77381dc8ae6ad54c74968e217e996bbb00 (patch)
treef70a211f2887dd8043655bc536f050c2bf44fd23
parent831957f6bfedc23696ecc25ec3f251e532e9ccf5 (diff)
downloadclang-3e80fc77381dc8ae6ad54c74968e217e996bbb00.tar.gz
Fix AST matcher documentation typo
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@317993 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--docs/LibASTMatchersReference.html2
-rw-r--r--include/clang/ASTMatchers/ASTMatchers.h2
2 files changed, 2 insertions, 2 deletions
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.
<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;
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