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 | fb991596e34aa7403a417205526f47c22b199c11 (patch) | |
tree | d0a4e1f409713ae869183f75ec633d5a3a17038e /clang | |
parent | 1919317929a0f623f1bcfe1721e480556c9fdc62 (diff) | |
download | bcm5719-llvm-fb991596e34aa7403a417205526f47c22b199c11.tar.gz bcm5719-llvm-fb991596e34aa7403a417205526f47c22b199c11.zip |
[clang][NFC] Fix typo in matcher comment
Also updates corresponding html doc.
llvm-svn: 368188
Diffstat (limited to 'clang')
-rw-r--r-- | clang/docs/LibASTMatchersReference.html | 2 | ||||
-rw-r--r-- | clang/include/clang/ASTMatchers/ASTMatchers.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/clang/docs/LibASTMatchersReference.html b/clang/docs/LibASTMatchersReference.html index 9f13331aa1b..31f71b76ae0 100644 --- a/clang/docs/LibASTMatchersReference.html +++ b/clang/docs/LibASTMatchersReference.html @@ -6819,7 +6819,7 @@ F& operator=(const F& o) { } returnStmt(forFunction(hasName("operator="))) matches 'return *this' - but does match 'return > 0' + but does not match 'return v > 0' </pre></td></tr> diff --git a/clang/include/clang/ASTMatchers/ASTMatchers.h b/clang/include/clang/ASTMatchers/ASTMatchers.h index 724d08c3d85..990d25490e3 100644 --- a/clang/include/clang/ASTMatchers/ASTMatchers.h +++ b/clang/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); |