diff options
author | Anna Zaks <ganna@apple.com> | 2013-03-23 00:39:17 +0000 |
---|---|---|
committer | Anna Zaks <ganna@apple.com> | 2013-03-23 00:39:17 +0000 |
commit | 911a7c9e03e15ccd255d1b80ec1911fee09b78d9 (patch) | |
tree | d5e99e51ec9f7ebb2ad0d00ee75f982ab8fe34c8 /clang/lib/StaticAnalyzer/Core/RegionStore.cpp | |
parent | 45af235e0912760c7e24a7613ecda6069b6e95d1 (diff) | |
download | bcm5719-llvm-911a7c9e03e15ccd255d1b80ec1911fee09b78d9.tar.gz bcm5719-llvm-911a7c9e03e15ccd255d1b80ec1911fee09b78d9.zip |
[analyzer] Correct the stale comment.
llvm-svn: 177788
Diffstat (limited to 'clang/lib/StaticAnalyzer/Core/RegionStore.cpp')
-rw-r--r-- | clang/lib/StaticAnalyzer/Core/RegionStore.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/RegionStore.cpp b/clang/lib/StaticAnalyzer/Core/RegionStore.cpp index 31a4759be21..58d94304ba7 100644 --- a/clang/lib/StaticAnalyzer/Core/RegionStore.cpp +++ b/clang/lib/StaticAnalyzer/Core/RegionStore.cpp @@ -854,7 +854,8 @@ RegionStoreManager::removeSubRegionBindings(RegionBindingsConstRef B, // If we're invalidating a region with a symbolic offset, we need to make sure // we don't treat the base region as uninitialized anymore. - // FIXME: This isn't very precise; see the example in the loop. + // FIXME: This isn't very precise; see the example in + // collectSubRegionBindings. if (TopKey.hasSymbolicOffset()) { const SubRegion *Concrete = TopKey.getConcreteOffsetRegion(); Result = Result.add(BindingKey::Make(Concrete, BindingKey::Default), @@ -1445,8 +1446,7 @@ SVal RegionStoreManager::getBindingForElement(RegionBindingsConstRef B, } } } - return getBindingForFieldOrElementCommon(B, R, R->getElementType(), - superR); + return getBindingForFieldOrElementCommon(B, R, R->getElementType(),superR); } SVal RegionStoreManager::getBindingForField(RegionBindingsConstRef B, |