aboutsummaryrefslogtreecommitdiff
path: root/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
commitdb4f5310d716bf54b1fd0798f794013e6cd96713 (patch)
treee91fddfd7bcc063f621b34aa7cdb7fd45010e359 /lib/Analysis/Store.cpp
parentbd2ab6e8f6ec16ca29e2479c8bc2a48a4eae7f07 (diff)
fix comment.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74890 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/Store.cpp')
-rw-r--r--lib/Analysis/Store.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Analysis/Store.cpp b/lib/Analysis/Store.cpp
index bc5d6c25a9..d7633a46ac 100644
--- a/lib/Analysis/Store.cpp
+++ b/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)) {