[PATCH] D105973: [ASTMatchers] NFC: Fix the annotation.
gehry via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 14 20:48:46 PDT 2021
Sockke updated this revision to Diff 358835.
Sockke added a comment.
update to display context.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D105973/new/
https://reviews.llvm.org/D105973
Files:
clang/docs/LibASTMatchersReference.html
clang/include/clang/ASTMatchers/ASTMatchers.h
Index: clang/include/clang/ASTMatchers/ASTMatchers.h
===================================================================
--- clang/include/clang/ASTMatchers/ASTMatchers.h
+++ clang/include/clang/ASTMatchers/ASTMatchers.h
@@ -913,7 +913,7 @@
/// varDecl(hasInitializer(integerLiteral()))
/// varDecl(hasInitializer(declRefExpr()))
/// \endcode
-/// only match the declarations for b, c, and d.
+/// only match the declarations for a.
AST_MATCHER_P(Expr, ignoringImpCasts,
internal::Matcher<Expr>, InnerMatcher) {
return InnerMatcher.matches(*Node.IgnoreImpCasts(), Finder, Builder);
Index: clang/docs/LibASTMatchersReference.html
===================================================================
--- clang/docs/LibASTMatchersReference.html
+++ clang/docs/LibASTMatchersReference.html
@@ -7701,7 +7701,7 @@
While
varDecl(hasInitializer(integerLiteral()))
varDecl(hasInitializer(declRefExpr()))
-only match the declarations for b, c, and d.
+only match the declarations for a.
</pre></td></tr>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105973.358835.patch
Type: text/x-patch
Size: 1035 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210715/a1007198/attachment-0001.bin>
More information about the cfe-commits
mailing list