Skip to content

Commit 509b6bd

Browse files
Apply suggestions from code review
Co-authored-by: Aaron Ballman <[email protected]>
1 parent 4cd2e26 commit 509b6bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/include/clang/ASTMatchers/ASTMatchers.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4197,9 +4197,9 @@ AST_MATCHER_P_OVERLOAD(QualType, references, internal::Matcher<Decl>,
41974197
/// \endcode
41984198
/// cxxMemberCallExpr(onImplicitObjectArgument(hasType(
41994199
/// cxxRecordDecl(hasName("Y")))))
4200-
/// matches `y.m()`, `x.m()` and (g()).m(), but not `x.g()`.
4200+
/// matches `y.m()`, `x.m()` and (`g()).m()`, but not `x.g()`).
42014201
/// cxxMemberCallExpr(on(callExpr()))
4202-
/// does match `(g()).m()`, because the parens are ignored.
4202+
/// only matches `(g()).m()` (the parens are ignored).
42034203
///
42044204
/// FIXME: Overload to allow directly matching types?
42054205
AST_MATCHER_P(CXXMemberCallExpr, onImplicitObjectArgument,

0 commit comments

Comments
 (0)