diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-03-12 01:55:38 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-03-12 01:55:38 +0000 |
commit | e8cba00b40ce8a31e8d2ee6f3ca8243cd1e37719 (patch) | |
tree | 4d702f938ab7d3a9dbe69c869683ea94ead24961 | |
parent | e1495eced887466e235f6a034953adf5ee1e14e6 (diff) |
Add comments to test case.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66760 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Analysis/ptr-arith.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Analysis/ptr-arith.c b/test/Analysis/ptr-arith.c index ca23437f92..11c8708dcf 100644 --- a/test/Analysis/ptr-arith.c +++ b/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, |