[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:
|
<span class="mono">traverse()</span> matcher is used to set the mode:
|
||||||
<pre>
|
<pre>
|
||||||
Finder->addMatcher(traverse(TK_IgnoreUnlessSpelledInSource,
|
Finder->addMatcher(traverse(TK_IgnoreUnlessSpelledInSource,
|
||||||
returnStmt(hasReturnArgument(integerLiteral(equals(0))))
|
returnStmt(hasReturnValue(integerLiteral(equals(0))))
|
||||||
), this);
|
), this);
|
||||||
</pre>
|
</pre>
|
||||||
</p>
|
</p>
|
||||||
|
|
Loading…
Reference in New Issue