diff options
author | Ken Dyck <kd@kendyck.com> | 2011-01-24 01:55:39 +0000 |
---|---|---|
committer | Ken Dyck <kd@kendyck.com> | 2011-01-24 01:55:39 +0000 |
commit | 9ff2b13aee0f89d23ef4820218f9b88bb5e5c1c1 (patch) | |
tree | 4a88020579c3f72c5df9d33f423aec4dd917b558 /lib/StaticAnalyzer/SimpleSValBuilder.cpp | |
parent | ff3a5174d1f6e7dc98de348aecfdfe1d2fb7cd53 (diff) |
Use CharUnits for the offset amount of RegionRawOffset.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124093 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/SimpleSValBuilder.cpp')
-rw-r--r-- | lib/StaticAnalyzer/SimpleSValBuilder.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/StaticAnalyzer/SimpleSValBuilder.cpp b/lib/StaticAnalyzer/SimpleSValBuilder.cpp index a6432121f5..6c65da4635 100644 --- a/lib/StaticAnalyzer/SimpleSValBuilder.cpp +++ b/lib/StaticAnalyzer/SimpleSValBuilder.cpp @@ -724,8 +724,8 @@ SVal SimpleSValBuilder::evalBinOpLL(const GRState *state, if (LeftOffset.getRegion() != NULL && LeftOffset.getRegion() == RightOffset.getRegion()) { - int64_t left = LeftOffset.getByteOffset(); - int64_t right = RightOffset.getByteOffset(); + CharUnits left = LeftOffset.getOffset(); + CharUnits right = RightOffset.getOffset(); switch (op) { default: |