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 | c28614cec4b28fc71fbed181ea8873802e81a549 (patch) | |
tree | cae0d6d459507f021cd587d4b2ed90cb37a52831 /clang/lib/StaticAnalyzer/RegionStore.cpp | |
parent | 7c4026bea79d41eb6675e571c3744db40e70339c (diff) | |
download | bcm5719-llvm-c28614cec4b28fc71fbed181ea8873802e81a549.tar.gz bcm5719-llvm-c28614cec4b28fc71fbed181ea8873802e81a549.zip |
Use CharUnits for the offset amount of RegionRawOffset.
llvm-svn: 124093
Diffstat (limited to 'clang/lib/StaticAnalyzer/RegionStore.cpp')
-rw-r--r-- | clang/lib/StaticAnalyzer/RegionStore.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/StaticAnalyzer/RegionStore.cpp b/clang/lib/StaticAnalyzer/RegionStore.cpp index 3c048064f6e..986278e6284 100644 --- a/clang/lib/StaticAnalyzer/RegionStore.cpp +++ b/clang/lib/StaticAnalyzer/RegionStore.cpp @@ -86,7 +86,7 @@ BindingKey BindingKey::Make(const MemRegion *R, Kind k) { // FIXME: There are some ElementRegions for which we cannot compute // raw offsets yet, including regions with symbolic offsets. These will be // ignored by the store. - return BindingKey(O.getRegion(), O.getByteOffset(), k); + return BindingKey(O.getRegion(), O.getOffset().getQuantity(), k); } return BindingKey(R, 0, k); |