[clang-tools-extra] [clang-tidy] Fix readability-redundant-parentheses removing required parentheses in address-of (PR #237781)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 6 01:25:19 PST 2026


================
@@ -44,6 +45,28 @@ AST_MATCHER(TypeLoc, isTypeOfExprTypeLoc) {
 
 AST_MATCHER(AutoType, isDecltypeAuto) { return Node.isDecltypeAuto(); }
 
+AST_MATCHER(MemberExpr, isQualifiedImplicitAccess) {
+  return Node.hasQualifier() && Node.isImplicitAccess();
+}
----------------
vbvictor wrote:

Can we make two separate matchers and use `allOf`.
This is needed bacause we can move individual matchers in main matchers library at some point

https://github.com/llvm/llvm-project/pull/237781


More information about the cfe-commits mailing list