Files
clang-p2996/clang/docs/LibASTMatchersReference.html
Mikhnenko Sasha 388d7f1448 Different info in docs in AST methods (#112190)
[Here](6a98c4a160/clang/include/clang/ASTMatchers/ASTMatchers.h (L4188-L4203))
and
[here](6a98c4a160/clang/include/clang/ASTMatchers/ASTMatchers.h (L3679-L3695))
we can see similar code samples and same examples:
```
cxxMemberCallExpr(on(callExpr()))
```

In the first case, it is
[written](6a98c4a160/clang/include/clang/ASTMatchers/ASTMatchers.h (L4201))
that the object must not be matched:
```
/// cxxMemberCallExpr(on(callExpr()))
///   does not match `(g()).m()`, because the parens are not ignored.
```
In the second case, it is
[written](6a98c4a160/clang/include/clang/ASTMatchers/ASTMatchers.h (L3693))
that the object must be matched:
```
/// cxxMemberCallExpr(on(callExpr()))
///   matches `(g()).m()`.
```

I think that parens are ignored
2024-10-17 08:44:45 -04:00

539 KiB