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 | 4e500455c9487fd72146a3d39d548a962ae24ff4 (patch) | |
tree | 742f11b1bb0eafe49f92e54e987ca8da69abfec5 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | ca0546facc5af4c27a5efd5ff80935ba05ae030a (diff) | |
download | bcm5719-llvm-4e500455c9487fd72146a3d39d548a962ae24ff4.tar.gz bcm5719-llvm-4e500455c9487fd72146a3d39d548a962ae24ff4.zip |
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.
llvm-svn: 57664
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions