Specifically, this diff:
- fixes the comments on hasObjectExpression,
- clarifies comments on thisPointerType and on,
- adds comments to onImplicitObjectArgument
It also updates associated reference docs (using the doc tool).
Paths
| Differential D56849
[ASTMatchers][NFC] Update comments on assorted `CXXMemberCallExpr` matchers. ClosedPublic Authored by ymandel on Jan 17 2019, 5:44 AM.
Details
Summary Specifically, this diff:
It also updates associated reference docs (using the doc tool).
Diff Detail
Event Timelineymandel retitled this revision from Update comments on assorted `CXXMemberCallExpr` matchers. to [ASTMatchers] Update comments on assorted `CXXMemberCallExpr` matchers..Jan 17 2019, 5:51 AM Comment Actions Please always subscribe lists. lebedev.ri retitled this revision from [ASTMatchers] Update comments on assorted `CXXMemberCallExpr` matchers. to [ASTMatchers][NFC] Update comments on assorted `CXXMemberCallExpr` matchers..Jan 17 2019, 5:56 AM
Comment Actions Some minor nits, but this is a good improvement!
Comment Actions Thanks for tidying up the docs. LG with one nit.
This revision is now accepted and ready to land.Jan 22 2019, 7:12 AM ymandel marked an inline comment as done. Comment ActionsUse backticks instead of quotes for quoted code. Closed by commit rC353532: [ASTMatchers][NFC] Update comments on assorted `CXXMemberCallExpr` matchers. (authored by ymandel). · Explain WhyFeb 8 2019, 8:00 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 182299 clang/docs/LibASTMatchersReference.html
clang/include/clang/ASTMatchers/ASTMatchers.h
|
If we're going to put such examples and details into the docs, maybe we should explain why things are and are not matched. What do you think?
It seems in this case the type of the object expression of m is X* because of the hidden this->?