forked from OSchip/llvm-project
[clang][NFC] Fix typo in matcher comment
Also updates corresponding html doc. llvm-svn: 368188
This commit is contained in:
parent
1919317929
commit
fb991596e3
|
@ -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>
|
||||
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue