aboutsummaryrefslogtreecommitdiff
path: root/include/clang
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2012-09-25 12:42:05 +0000
committerAlexander Kornienko <alexfh@google.com>2012-09-25 12:42:05 +0000
commit9158a5624154bc43bbbf059c07a2f7b2cd45c1a1 (patch)
tree3f5812512fe14a638919c14712dd556dd3683b68 /include/clang
parent4c6d6dc793b95c1712333d8393c98ba15c7bdd97 (diff)
A minor doc fix.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164601 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang')
-rw-r--r--include/clang/ASTMatchers/ASTMatchers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/ASTMatchers/ASTMatchers.h b/include/clang/ASTMatchers/ASTMatchers.h
index 69d1cb3196..3015b0841f 100644
--- a/include/clang/ASTMatchers/ASTMatchers.h
+++ b/include/clang/ASTMatchers/ASTMatchers.h
@@ -2124,7 +2124,7 @@ inline internal::Matcher<BinaryOperator> hasEitherOperand(
/// \brief Matches if the operand of a unary operator matches.
///
-/// Example matches true (matcher = hasOperand(boolLiteral(equals(true))))
+/// Example matches true (matcher = hasUnaryOperand(boolLiteral(equals(true))))
/// \code
/// !true
/// \endcode