diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-06-18 06:49:35 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-06-18 06:49:35 +0000 |
commit | 59c03ff2a686baa88a2e69c7f6fdf1a36b716190 (patch) | |
tree | 9cb021f8dab4c482fa98657f8e46b7e410240549 | |
parent | 88c675f001e046b7264e2a2d4174dacf3781ce5f (diff) |
Modify test case comments.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73691 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Analysis/casts.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/test/Analysis/casts.c b/test/Analysis/casts.c index c5fcdd92e1..eac0bd3a01 100644 --- a/test/Analysis/casts.c +++ b/test/Analysis/casts.c @@ -19,14 +19,11 @@ struct s { 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. } |