projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e2a629
)
[doc] Fix invalid reference to `hasReturnArgument` matcher.
author
Clement Courbet
<courbet@google.com>
Tue, 18 Oct 2022 06:47:21 +0000
(08:47 +0200)
committer
Clement Courbet
<courbet@google.com>
Tue, 18 Oct 2022 06:47:21 +0000
(08:47 +0200)
The matcher is called `hasReturnValue`.
clang/docs/LibASTMatchersReference.html
patch
|
blob
|
history
diff --git
a/clang/docs/LibASTMatchersReference.html
b/clang/docs/LibASTMatchersReference.html
index
4ac9ab0
..
61844ff
100644
(file)
--- a/
clang/docs/LibASTMatchersReference.html
+++ b/
clang/docs/LibASTMatchersReference.html
@@
-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(hasReturn
Argument
(integerLiteral(equals(0))))
+ returnStmt(hasReturn
Value
(integerLiteral(equals(0))))
), this);
</pre>
</p>