Fix typo in comment.

llvm-svn: 166253
This commit is contained in:
Nick Lewycky 2012-10-19 00:47:07 +00:00
parent 108cb22dac
commit f20544aa52
1 changed files with 1 additions and 1 deletions

View File

@ -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>