]> granicus.if.org Git - clang/commitdiff
Fix documentation typo.
authorMalcolm Parsons <malcolm.parsons@gmail.com>
Fri, 20 Jan 2017 09:54:26 +0000 (09:54 +0000)
committerMalcolm Parsons <malcolm.parsons@gmail.com>
Fri, 20 Jan 2017 09:54:26 +0000 (09:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@292595 91177308-0d34-0410-b5e6-96231b3b80d8

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

index 4ee953f1838e447b7da069941c8e6e1527c95097..0fd7a744b38a5772ded82c5c62944bc5c962095e 100644 (file)
@@ -5419,7 +5419,7 @@ alignof.
 
 
 <tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('forFunction0')"><a name="forFunction0Anchor">forFunction</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FunctionDecl.html">FunctionDecl</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="forFunction0"><pre>Matches declaration of the function the statemenet belongs to
+<tr><td colspan="4" class="doc" id="forFunction0"><pre>Matches declaration of the function the statement belongs to
 
 Given:
 F&amp; operator=(const F&amp; o) {
index 6a5224febab5e532949c7ec52d074b31fda11964..6c1c8e4428cffd8517588cba6e949f17d7e67991 100644 (file)
@@ -5507,7 +5507,7 @@ AST_MATCHER_FUNCTION(internal::Matcher<Expr>, nullPointerConstant) {
       integerLiteral(equals(0), hasParent(expr(hasType(pointerType())))));
 }
 
-/// \brief Matches declaration of the function the statemenet belongs to
+/// \brief Matches declaration of the function the statement belongs to
 ///
 /// Given:
 /// \code