lebedev.ri added inline comments.
Herald added a subscriber: Szelethus.

================
Comment at: clang-tidy/utils/ExprMutationAnalyzer.h:38
+  const Stmt *findDeclMutation(ArrayRef<ast_matchers::BoundNodes> Matches);
+  const Stmt *findDeclMutation(const Decl *Dec);
+
----------------
@shuaiwang, @JonasToth hi.
Is it very intentional that this `findDeclMutation()` is private?

Is there some other way i should be doing if i have a statement `S`,
a declRefExpr `D`, and i want to find the statement `Q`, which mutates
the underlying variable to which the declRefExpr `D` refers?


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D45679



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to