summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorMalcolm Parsons <malcolm.parsons@gmail.com>2017-01-20 09:54:26 +0000
committerMalcolm Parsons <malcolm.parsons@gmail.com>2017-01-20 09:54:26 +0000
commitdef8f90e67426105fa131d3b230039e12d9c0cce (patch)
tree41d523fab67406681e065f397570ed02140bd177 /clang
parent60aed443875b0d6bf26b1ae466c2063339358937 (diff)
downloadbcm5719-llvm-def8f90e67426105fa131d3b230039e12d9c0cce.tar.gz
bcm5719-llvm-def8f90e67426105fa131d3b230039e12d9c0cce.zip
Fix documentation typo.
llvm-svn: 292595
Diffstat (limited to 'clang')
-rw-r--r--clang/docs/LibASTMatchersReference.html2
-rw-r--r--clang/include/clang/ASTMatchers/ASTMatchers.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/clang/docs/LibASTMatchersReference.html b/clang/docs/LibASTMatchersReference.html
index 4ee953f1838..0fd7a744b38 100644
--- a/clang/docs/LibASTMatchersReference.html
+++ b/clang/docs/LibASTMatchersReference.html
@@ -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) {
diff --git a/clang/include/clang/ASTMatchers/ASTMatchers.h b/clang/include/clang/ASTMatchers/ASTMatchers.h
index 6a5224febab..6c1c8e4428c 100644
--- a/clang/include/clang/ASTMatchers/ASTMatchers.h
+++ b/clang/include/clang/ASTMatchers/ASTMatchers.h
@@ -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
OpenPOWER on IntegriCloud