diff options
author | Yitzhak Mandelbaum <yitzhakm@google.com> | 2019-08-07 17:01:31 +0000 |
---|---|---|
committer | Yitzhak Mandelbaum <yitzhakm@google.com> | 2019-08-07 17:01:31 +0000 |
commit | 2278ab1b680d1265a09a003cb281b60e183a18e7 (patch) | |
tree | 55e0f8af467aceced879167412807ac60518298c /include | |
parent | 8220d65e08dfd16a64d596aac23bfc54dbe7d363 (diff) | |
download | clang-2278ab1b680d1265a09a003cb281b60e183a18e7.tar.gz |
[clang][NFC] Fix typo in matcher comment
Also updates corresponding html doc.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@368188 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/clang/ASTMatchers/ASTMatchers.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/ASTMatchers/ASTMatchers.h b/include/clang/ASTMatchers/ASTMatchers.h index 724d08c3d8..990d25490e 100644 --- a/include/clang/ASTMatchers/ASTMatchers.h +++ b/include/clang/ASTMatchers/ASTMatchers.h @@ -6410,7 +6410,7 @@ AST_MATCHER_FUNCTION(internal::Matcher<Expr>, nullPointerConstant) { /// \endcode /// returnStmt(forFunction(hasName("operator="))) /// matches 'return *this' -/// but does match 'return > 0' +/// but does not match 'return v > 0' AST_MATCHER_P(Stmt, forFunction, internal::Matcher<FunctionDecl>, InnerMatcher) { const auto &Parents = Finder->getASTContext().getParents(Node); |