summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2009-03-12 01:55:38 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2009-03-12 01:55:38 +0000
commitca026916f481d08b6247e9881e3321376f1e6f18 (patch)
treed39912ea12eba6561b2d5844da2f3e4151abf5f0 /clang
parent71dc375142142106758352af1bc536d0069b0864 (diff)
downloadbcm5719-llvm-ca026916f481d08b6247e9881e3321376f1e6f18.tar.gz
bcm5719-llvm-ca026916f481d08b6247e9881e3321376f1e6f18.zip
Add comments to test case.
llvm-svn: 66760
Diffstat (limited to 'clang')
-rw-r--r--clang/test/Analysis/ptr-arith.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/Analysis/ptr-arith.c b/clang/test/Analysis/ptr-arith.c
index ca23437f92a..11c8708dcf2 100644
--- a/clang/test/Analysis/ptr-arith.c
+++ b/clang/test/Analysis/ptr-arith.c
@@ -13,6 +13,9 @@ void f2() {
++p;
}
+// This test case checks if we get the right rvalue type of a TypedViewRegion.
+// The ElementRegion's type depends on the array region's rvalue type. If it was
+// a pointer type, we would get a loc::SymbolVal for '*p'.
char* memchr();
static int
domain_port (const char *domain_b, const char *domain_e,
OpenPOWER on IntegriCloud