[clang] dbfa97b - [doc] Fix invalid reference to `hasReturnArgument` matcher.
Clement Courbet via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 17 23:48:26 PDT 2022
Author: Clement Courbet
Date: 2022-10-18T08:47:21+02:00
New Revision: dbfa97bd1108fe2a8e4fb13a16508f3dd0676a9b
URL: https://github.com/llvm/llvm-project/commit/dbfa97bd1108fe2a8e4fb13a16508f3dd0676a9b
DIFF: https://github.com/llvm/llvm-project/commit/dbfa97bd1108fe2a8e4fb13a16508f3dd0676a9b.diff
LOG: [doc] Fix invalid reference to `hasReturnArgument` matcher.
The matcher is called `hasReturnValue`.
Added:
Modified:
clang/docs/LibASTMatchersReference.html
Removed:
################################################################################
diff --git a/clang/docs/LibASTMatchersReference.html b/clang/docs/LibASTMatchersReference.html
index 4ac9ab0090cd4..61844ffc9de90 100644
--- a/clang/docs/LibASTMatchersReference.html
+++ b/clang/docs/LibASTMatchersReference.html
@@ -112,7 +112,7 @@ <h2 id="traverse-mode">Traverse Mode</h2>
<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>
More information about the cfe-commits
mailing list