[cfe-commits] r73691 - /cfe/trunk/test/Analysis/casts.c

Zhongxing Xu xuzhongxing at gmail.com
Wed Jun 17 23:49:35 PDT 2009


Author: zhongxingxu
Date: Thu Jun 18 01:49:35 2009
New Revision: 73691

URL: http://llvm.org/viewvc/llvm-project?rev=73691&view=rev
Log:
Modify test case comments.

Modified:
    cfe/trunk/test/Analysis/casts.c

Modified: cfe/trunk/test/Analysis/casts.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Analysis/casts.c?rev=73691&r1=73690&r2=73691&view=diff

==============================================================================
--- cfe/trunk/test/Analysis/casts.c (original)
+++ cfe/trunk/test/Analysis/casts.c Thu Jun 18 01:49:35 2009
@@ -19,14 +19,11 @@
   struct s *value;
 };
 
-// ElementRegion and cast-to pointee type may be of the same size:
-// 'struct s **' and 'int'.
-
 int f1(struct s **pval) {
   int *tbool = ((void*)0);
   struct s *t = *pval;
   pval = &(t->value);
-  tbool = (int *)pval;
-  char c = (unsigned char) *tbool;
+  tbool = (int *)pval; // Should record the cast-to type here.
+  char c = (unsigned char) *tbool; // Should use cast-to type to create symbol.
 }
 





More information about the cfe-commits mailing list