summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis/Store.cpp
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2009-07-07 01:36:53 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2009-07-07 01:36:53 +0000
commitcf67e61faaac992d51cf79619980be3d0878e367 (patch)
tree26d6779edc45572fd78bda53dafe6debfefb39ae /clang/lib/Analysis/Store.cpp
parentb24e51e2d9ebafc700d9d3f788e63013d299b01e (diff)
downloadbcm5719-llvm-cf67e61faaac992d51cf79619980be3d0878e367.tar.gz
bcm5719-llvm-cf67e61faaac992d51cf79619980be3d0878e367.zip
fix comment.
llvm-svn: 74890
Diffstat (limited to 'clang/lib/Analysis/Store.cpp')
-rw-r--r--clang/lib/Analysis/Store.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Analysis/Store.cpp b/clang/lib/Analysis/Store.cpp
index bc5d6c25a96..d7633a46ac9 100644
--- a/clang/lib/Analysis/Store.cpp
+++ b/clang/lib/Analysis/Store.cpp
@@ -106,8 +106,8 @@ StoreManager::NewCastRegion(const GRState *state, const MemRegion* R,
// the cast-to pointee type is of smaller size. In other cases, we return
// the original VarRegion.
- // If the pointee or object type is incomplete, do compute their sizes,
- // and return the original region.
+ // If the pointee or object type is incomplete, do not compute their
+ // sizes, and return the original region.
QualType ObjTy = cast<TypedRegion>(R)->getValueType(Ctx);
if (!IsCompleteType(Ctx, PointeeTy) || !IsCompleteType(Ctx, ObjTy)) {
OpenPOWER on IntegriCloud