diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2008-11-13 07:58:20 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2008-11-13 07:58:20 +0000 |
commit | 0dbeeaa886733e454531705ca17d0e8445dd529a (patch) | |
tree | 40e141f8281955e0199f99b1c42517b99258709e /clang/test/Analysis/array-struct.c | |
parent | 4af89f7e7dd90fca4c63800e90e043c8fd0260fb (diff) | |
download | llvm-0dbeeaa886733e454531705ca17d0e8445dd529a.zip llvm-0dbeeaa886733e454531705ca17d0e8445dd529a.tar.gz llvm-0dbeeaa886733e454531705ca17d0e8445dd529a.tar.bz2 |
Lift the pointer to alloca'ed region to the pointer to its first element.
This is required by some operations, e.g., *p = 1; p[0] = 1;.
Also set the AllocaRegion's type during the cast.
llvm-svn: 59232
Diffstat (limited to 'clang/test/Analysis/array-struct.c')
0 files changed, 0 insertions, 0 deletions