diff --git a/clang/docs/LibASTMatchersReference.html b/clang/docs/LibASTMatchersReference.html index ac816d28970b..a956091318a1 100644 --- a/clang/docs/LibASTMatchersReference.html +++ b/clang/docs/LibASTMatchersReference.html @@ -508,7 +508,7 @@ void func() {
 binaryOperator(
   hasOperatorName("<"),
-  hasRHS(integerLiteral(equals(0)))
+  hasRHS(hasDescendant(integerLiteral(equals(0))))
   )
 
given: @@ -529,6 +529,12 @@ bool isLess(const HasSpaceship& a, const HasSpaceship& b) { 1 match found. + +
+   return a < b;
+          ^~~~~
+
+ No match found.