]> granicus.if.org Git - clang/commitdiff
A minor doc fix.
authorAlexander Kornienko <alexfh@google.com>
Tue, 25 Sep 2012 12:42:05 +0000 (12:42 +0000)
committerAlexander Kornienko <alexfh@google.com>
Tue, 25 Sep 2012 12:42:05 +0000 (12:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164601 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/ASTMatchers/ASTMatchers.h

index 69d1cb31963a1bda103a9a0813824ed81c2b9f80..3015b0841f2406195c8891d61b37218ff02f3387 100644 (file)
@@ -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