diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2012-10-19 00:47:07 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2012-10-19 00:47:07 +0000 |
commit | a1a4c0385a0fd458243d9e357e1eceb137f29abf (patch) | |
tree | e43c7d0233a0103c30431da6bf537ff86167770d | |
parent | c337fefd7317714d365a2acf4f1d2939bbcf8e3b (diff) |
Fix typo in comment.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166253 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/ASTMatchers/ASTMatchers.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/ASTMatchers/ASTMatchers.h b/include/clang/ASTMatchers/ASTMatchers.h index 1550fa2d75..384b01f2e9 100644 --- a/include/clang/ASTMatchers/ASTMatchers.h +++ b/include/clang/ASTMatchers/ASTMatchers.h @@ -1410,7 +1410,7 @@ forEachDescendant( /// void f() { if (true) { int x = 42; } } /// void g() { for (;;) { int x = 43; } } /// \endcode -/// \c expr(integerLiteral(hasAncsestor(ifStmt()))) matches \c 42, but not 43. +/// \c expr(integerLiteral(hasAncestor(ifStmt()))) matches \c 42, but not 43. /// /// Usable as: Any Matcher template <typename AncestorT> |