[PATCH] D99797: [analyzer] Implemented RangeSet::Factory::unite function to handle intersections and adjacency

Denys Petrov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 26 05:48:24 PDT 2021


ASDenysPetrov added a comment.

@vsavchenko
Thanks for your suggestions! I really appreciate it! I'll do my best on this algorithm.



================
Comment at: clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:257
+  // BoundCounter is 0 for outer `)`.
+  // BoundCounter is 1 for outer '(' or inner `)`.
+  // BoundCounter is 2 for inner `(`.
----------------
vsavchenko wrote:
> nit: it has different ticks than you use in all other places
I'm sorry. I didn't get it. What do you mean?


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

https://reviews.llvm.org/D99797



More information about the cfe-commits mailing list