]> granicus.if.org Git - clang/commit
[analyzer] Fix JSON dumps for store clusters.
authorArtem Dergachev <artem.dergachev@gmail.com>
Wed, 19 Jun 2019 23:33:51 +0000 (23:33 +0000)
committerArtem Dergachev <artem.dergachev@gmail.com>
Wed, 19 Jun 2019 23:33:51 +0000 (23:33 +0000)
commita66b18785d1a55881c214db8b90d60ee348e1e51
tree0f5327b84489d4c34f081302afe6dde805277c0c
parent9fbbe6ff5bbeb9ae7fc6c1b32af1ef80e6e871ec
[analyzer] Fix JSON dumps for store clusters.

Include a unique pointer so that it was possible to figure out if it's
the same cluster in different program states. This allows comparing
dumps of different states against each other.

Differential Revision: https://reviews.llvm.org/D63362

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@363896 91177308-0d34-0410-b5e6-96231b3b80d8
lib/StaticAnalyzer/Core/RegionStore.cpp
test/Analysis/dump_egraph.cpp
test/Analysis/expr-inspection.c