[cfe-commits] r166253 - /cfe/trunk/include/clang/ASTMatchers/ASTMatchers.h

Nick Lewycky nicholas at mxc.ca
Thu Oct 18 17:47:07 PDT 2012


Author: nicholas
Date: Thu Oct 18 19:47:07 2012
New Revision: 166253

URL: http://llvm.org/viewvc/llvm-project?rev=166253&view=rev
Log:
Fix typo in comment.

Modified:
    cfe/trunk/include/clang/ASTMatchers/ASTMatchers.h

Modified: cfe/trunk/include/clang/ASTMatchers/ASTMatchers.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/ASTMatchers/ASTMatchers.h?rev=166253&r1=166252&r2=166253&view=diff
==============================================================================
--- cfe/trunk/include/clang/ASTMatchers/ASTMatchers.h (original)
+++ cfe/trunk/include/clang/ASTMatchers/ASTMatchers.h Thu Oct 18 19:47:07 2012
@@ -1410,7 +1410,7 @@
 /// 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>





More information about the cfe-commits mailing list