[PATCH] D51884: [clang-tidy] ExprMutationAnalyzer: construct from references. Fixes PR38888

Roman Lebedev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 10 12:36:28 PDT 2018


lebedev.ri added inline comments.


================
Comment at: clang-tidy/utils/ExprMutationAnalyzer.cpp:209-214
-  const auto MemberExprs =
-      match(findAll(expr(anyOf(memberExpr(hasObjectExpression(equalsNode(Exp))),
-                               cxxDependentScopeMemberExpr(
-                                   hasObjectExpression(equalsNode(Exp)))))
-                        .bind("expr")),
-            *Stm, *Context);
----------------
Hm, looks like i failed to rebase the patch :)
Will fix momentarily.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D51884





More information about the cfe-commits mailing list