[all-commits] [llvm/llvm-project] 6a399b: [analyzer] Implemented RangeSet::Factory::unite fu...
Denys Petrov via All-commits
all-commits at lists.llvm.org
Fri Dec 10 08:48:15 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6a399bf4b3aa32a87fb04dd1deb05f0066810a05
https://github.com/llvm/llvm-project/commit/6a399bf4b3aa32a87fb04dd1deb05f0066810a05
Author: Denys Petrov <dpetrov at accesssoftek.com>
Date: 2021-12-10 (Fri, 10 Dec 2021)
Changed paths:
M clang/include/clang/StaticAnalyzer/Core/PathSensitive/RangedConstraintManager.h
M clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp
M clang/unittests/StaticAnalyzer/RangeSetTest.cpp
Log Message:
-----------
[analyzer] Implemented RangeSet::Factory::unite function to handle intersections and adjacency
Summary: Handle intersected and adjacent ranges uniting them into a single one.
Example:
intersection [0, 10] U [5, 20] = [0, 20]
adjacency [0, 10] U [11, 20] = [0, 20]
Differential Revision: https://reviews.llvm.org/D99797
More information about the All-commits
mailing list