[PATCH] D58894: [analyzer] Handle modification of vars inside an expr with comma operator

Roman Lebedev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Mar 3 23:58:32 PST 2019


lebedev.ri added a comment.

Thank you for working on this!

Is there any way to model this more generically?
I.e don't duplicate every naive matcher (ignoring possible presence of `,` op) with an variant that does not ignore `,`.
E.g. will this handle `(a,b)+=1` ?
What about `(a,b).callNonConstMethod()`, `(a,b).callConstMethod()` ?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58894/new/

https://reviews.llvm.org/D58894





More information about the cfe-commits mailing list