[PATCH] D106063: [Analyzer][solver] Remove unused functions

Gabor Marton via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 15 07:36:25 PDT 2021


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGd0d37fcc4e29: [Analyzer][solver] Remove unused functions (authored by martong).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D106063

Files:
  clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp


Index: clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp
===================================================================
--- clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp
+++ clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp
@@ -2381,23 +2381,12 @@
   return SymbolicRangeInferrer::inferRange(F, State, Sym);
 }
 
-RangeSet RangeConstraintManager::getRange(ProgramStateRef State,
-                                          EquivalenceClass Class) {
-  return SymbolicRangeInferrer::inferRange(F, State, Class);
-}
-
 ProgramStateRef RangeConstraintManager::setRange(ProgramStateRef State,
                                                  SymbolRef Sym,
                                                  RangeSet Range) {
   return ConstraintAssignor::assign(State, getSValBuilder(), F, Sym, Range);
 }
 
-ProgramStateRef RangeConstraintManager::setRange(ProgramStateRef State,
-                                                 EquivalenceClass Class,
-                                                 RangeSet Range) {
-  return ConstraintAssignor::assign(State, getSValBuilder(), F, Class, Range);
-}
-
 //===------------------------------------------------------------------------===
 // assumeSymX methods: protected interface for RangeConstraintManager.
 //===------------------------------------------------------------------------===/


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106063.358957.patch
Type: text/x-patch
Size: 1371 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210715/bf4eae79/attachment.bin>


More information about the cfe-commits mailing list