[doc] Fix invalid reference to `hasReturnArgument` matcher.
The matcher is called `hasReturnValue`.
This commit is contained in:
parent
4e2a629c72
commit
dbfa97bd11
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue