diff options
author | Dominic Chen <d.c.ddcc@gmail.com> | 2016-11-15 01:54:41 +0000 |
---|---|---|
committer | Dominic Chen <d.c.ddcc@gmail.com> | 2016-11-15 01:54:41 +0000 |
commit | 3f8c3fa72fc8f3130baac9f43b0f737b021e2831 (patch) | |
tree | b273532ad883ff532cb13a4f38381c0311d00d9a /clang/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp | |
parent | 2b0a7be96e19efdd89e2212b18806b8d8b01a0e5 (diff) | |
download | bcm5719-llvm-3f8c3fa72fc8f3130baac9f43b0f737b021e2831.tar.gz bcm5719-llvm-3f8c3fa72fc8f3130baac9f43b0f737b021e2831.zip |
[analyzer] Rename assumeWithinInclusiveRange*()
Summary: The name is slightly confusing, since the constraint is not necessarily within the range unless `Assumption` is true. Split out renaming for ConstraintManager.h from D26061
Reviewers: zaks.anna, dcoughlin
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D26644
llvm-svn: 286927
Diffstat (limited to 'clang/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp')
-rw-r--r-- | clang/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp b/clang/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp index 4051242434e..9cb344e32c7 100644 --- a/clang/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp +++ b/clang/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp @@ -190,7 +190,7 @@ ProgramStateRef SimpleConstraintManager::assumeAux(ProgramStateRef state, } // end switch } -ProgramStateRef SimpleConstraintManager::assumeWithinInclusiveRange( +ProgramStateRef SimpleConstraintManager::assumeInclusiveRange( ProgramStateRef State, NonLoc Value, const llvm::APSInt &From, const llvm::APSInt &To, bool InRange) { @@ -207,7 +207,7 @@ ProgramStateRef SimpleConstraintManager::assumeWithinInclusiveRange( switch (Value.getSubKind()) { default: - llvm_unreachable("'assumeWithinInclusiveRange' is not implemented" + llvm_unreachable("'assumeInclusiveRange' is not implemented" "for this NonLoc"); case nonloc::LocAsIntegerKind: |