diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2008-10-17 01:51:27 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2008-10-17 01:51:27 +0000 |
commit | cb3a795d9d69b24af77588e66a02c3d3d5b3dd8f (patch) | |
tree | dcf5aa5ad4b21c160d64df9c8b8795a98cdffc3b /lib/Analysis/BasicObjCFoundationChecks.cpp | |
parent | 5273f514a1e8dd5f5ebd0f94d2c59f7e0e88a674 (diff) |
Array and struct variables do have lvalue. For example,
struct s {};
void f() {
int a[10];
int (*p)[10];
p = &a;
(*p)[3] =1;
struct s d;
struct s *q;
q = &d;
}
We return the corresponding MemRegionVal for them.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57664 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/BasicObjCFoundationChecks.cpp')
0 files changed, 0 insertions, 0 deletions