[cfe-commits] [PATCH] Minor doc fixes.
Gábor Horváth
reviews at llvm-reviews.chandlerc.com
Sun Sep 23 01:31:30 PDT 2012
Hi djasper,
Fixed a minor typo ( Ancsestor -> Ancestor ).
Removed an unnecessary expr().
http://llvm-reviews.chandlerc.com/D48
Files:
include/clang/ASTMatchers/ASTMatchers.h
Index: include/clang/ASTMatchers/ASTMatchers.h
===================================================================
--- include/clang/ASTMatchers/ASTMatchers.h
+++ include/clang/ASTMatchers/ASTMatchers.h
@@ -1409,7 +1409,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 integerLiteral(hasAncestor(ifStmt())) matches \c 42, but not 43.
///
/// Usable as: Any Matcher
template <typename AncestorT>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48.1.patch
Type: text/x-patch
Size: 543 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120923/cc13ba9b/attachment.bin>
More information about the cfe-commits
mailing list