[doc] Fix invalid reference to `hasReturnArgument` matcher.

The matcher is called `hasReturnValue`.
This commit is contained in:
Clement Courbet 2022-10-18 08:47:21 +02:00
parent 4e2a629c72
commit dbfa97bd11
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ This affects both matchers and AST dump output in results.
<span class="mono">traverse()</span> matcher is used to set the mode:
<pre>
Finder->addMatcher(traverse(TK_IgnoreUnlessSpelledInSource,
returnStmt(hasReturnArgument(integerLiteral(equals(0))))
returnStmt(hasReturnValue(integerLiteral(equals(0))))
), this);
</pre>
</p>