[analyzer] DynamicSize: Remove 'getSizeInElements()' from store
authorCharusso <dabis.csaba98@gmail.com>
Thu, 30 Jan 2020 15:51:26 +0000 (16:51 +0100)
committerCharusso <dabis.csaba98@gmail.com>
Thu, 30 Jan 2020 15:51:48 +0000 (16:51 +0100)
commitaf3d0d16286aecdd19356a3505d4a87f54a2f7e9
tree156c3857d1166c50526a54d1ec3330623e192c86
parent4801522432a4dd6aeebf2b461744891953f7fd1d
[analyzer] DynamicSize: Remove 'getSizeInElements()' from store

Summary:
This patch uses the new `DynamicSize.cpp` to serve dynamic information.
Previously it was static and probably imprecise data.

Reviewed By: NoQ

Differential Revision: https://reviews.llvm.org/D69599
clang/include/clang/StaticAnalyzer/Core/PathSensitive/DynamicSize.h
clang/include/clang/StaticAnalyzer/Core/PathSensitive/Store.h
clang/lib/StaticAnalyzer/Checkers/ArrayBoundChecker.cpp
clang/lib/StaticAnalyzer/Checkers/MPI-Checker/MPIChecker.cpp
clang/lib/StaticAnalyzer/Checkers/ReturnPointerRangeChecker.cpp
clang/lib/StaticAnalyzer/Checkers/UndefResultChecker.cpp
clang/lib/StaticAnalyzer/Core/DynamicSize.cpp
clang/lib/StaticAnalyzer/Core/RegionStore.cpp