From ca026916f481d08b6247e9881e3321376f1e6f18 Mon Sep 17 00:00:00 2001 From: Zhongxing Xu Date: Thu, 12 Mar 2009 01:55:38 +0000 Subject: [PATCH] Add comments to test case. llvm-svn: 66760 --- clang/test/Analysis/ptr-arith.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/clang/test/Analysis/ptr-arith.c b/clang/test/Analysis/ptr-arith.c index ca23437f92a3..11c8708dcf29 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,