]> granicus.if.org Git - clang/commitdiff
Updated comment.
authorTed Kremenek <kremenek@apple.com>
Fri, 13 Mar 2009 15:39:16 +0000 (15:39 +0000)
committerTed Kremenek <kremenek@apple.com>
Fri, 13 Mar 2009 15:39:16 +0000 (15:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66894 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/RegionStore.cpp

index 5f1c39c2b6927cd397d9b2e7b9c7bbc6e39e88d7..6b962b1c1f9e3c95b92e388958d13c3d227eae8a 100644 (file)
@@ -646,6 +646,8 @@ SVal RegionStoreManager::EvalBinOp(BinaryOperator::Opcode Op, Loc L, NonLoc R) {
     //  they don't match.  This can result from pointer arithmetic.  In reality,
     //  we should figure out what are the proper semantics and implement them.
     // 
+    //  This addresses the test case test/Analysis/ptr-arith.c
+    //
     nonloc::ConcreteInt OffConverted(getBasicVals().Convert(Base->getValue(),
                                                            Offset->getValue()));
     SVal NewIdx = Base->EvalBinOp(getBasicVals(), Op, OffConverted);