]> granicus.if.org Git - clang/commitdiff
Add comments to test case.
authorZhongxing Xu <xuzhongxing@gmail.com>
Thu, 12 Mar 2009 01:55:38 +0000 (01:55 +0000)
committerZhongxing Xu <xuzhongxing@gmail.com>
Thu, 12 Mar 2009 01:55:38 +0000 (01:55 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66760 91177308-0d34-0410-b5e6-96231b3b80d8

test/Analysis/ptr-arith.c

index ca23437f92a3091bb7ebe5f3186179c6ce48515c..11c8708dcf29ffe6d5bb839aed228564671d7c3e 100644 (file)
@@ -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,