[cfe-commits] r66760 - /cfe/trunk/test/Analysis/ptr-arith.c

Zhongxing Xu xuzhongxing at gmail.com
Wed Mar 11 18:55:38 PDT 2009


Author: zhongxingxu
Date: Wed Mar 11 20:55:38 2009
New Revision: 66760

URL: http://llvm.org/viewvc/llvm-project?rev=66760&view=rev
Log:
Add comments to test case.

Modified:
    cfe/trunk/test/Analysis/ptr-arith.c

Modified: cfe/trunk/test/Analysis/ptr-arith.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Analysis/ptr-arith.c?rev=66760&r1=66759&r2=66760&view=diff

==============================================================================
--- cfe/trunk/test/Analysis/ptr-arith.c (original)
+++ cfe/trunk/test/Analysis/ptr-arith.c Wed Mar 11 20:55:38 2009
@@ -13,6 +13,9 @@
   ++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,





More information about the cfe-commits mailing list