aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Analysis/array-struct.c
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2009-05-20 09:00:16 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2009-05-20 09:00:16 +0000
commita7907608fb01391e22c27bb9befc56bc0cb4498d (patch)
tree448cc2eabef1622e44037055d3f21ef2f3e74cba /clang/test/Analysis/array-struct.c
parent9030c35eb4f33aebe214de52604880d853c4cf25 (diff)
downloadllvm-a7907608fb01391e22c27bb9befc56bc0cb4498d.zip
llvm-a7907608fb01391e22c27bb9befc56bc0cb4498d.tar.gz
llvm-a7907608fb01391e22c27bb9befc56bc0cb4498d.tar.bz2
* API change: we need to pass GRState to GRExprEngine::EvalBinOp() because
RegionStore needs to know the type of alloca region. * RegionStoreManager::EvalBinOp() now converts the alloca region to its first element region, as what is done to symbolic region. llvm-svn: 72164
Diffstat (limited to 'clang/test/Analysis/array-struct.c')
-rw-r--r--clang/test/Analysis/array-struct.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/Analysis/array-struct.c b/clang/test/Analysis/array-struct.c
index 318f92f..17c0d46 100644
--- a/clang/test/Analysis/array-struct.c
+++ b/clang/test/Analysis/array-struct.c
@@ -63,6 +63,7 @@ void f6() {
char *p;
p = __builtin_alloca(10);
p[1] = 'a';
+ p += 2;
}
struct s2;