From: Nick Lewycky Date: Fri, 19 Oct 2012 00:47:07 +0000 (+0000) Subject: Fix typo in comment. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a1a4c0385a0fd458243d9e357e1eceb137f29abf;p=clang Fix typo in comment. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166253 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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