diff options
author | Jordan Rose <jordan_rose@apple.com> | 2012-09-28 17:15:21 +0000 |
---|---|---|
committer | Jordan Rose <jordan_rose@apple.com> | 2012-09-28 17:15:21 +0000 |
commit | b559f185842eef73066382adcdfda9255608ad6f (patch) | |
tree | 27b6d65ec3ba937b410fbd8b51272f9fd1c12e1f /clang/lib/Driver/Tools.cpp | |
parent | e7126582a457b377df095ea2234d1206aaf9a4da (diff) | |
download | bcm5719-llvm-b559f185842eef73066382adcdfda9255608ad6f.tar.gz bcm5719-llvm-b559f185842eef73066382adcdfda9255608ad6f.zip |
[analyzer] Create a temp region when a method is called on a struct rvalue.
An rvalue has no address, but calling a C++ member function requires a
'this' pointer. This commit makes the analyzer create a temporary region
in which to store the struct rvalue and use as a 'this' pointer whenever
a member function is called on an rvalue, which is essentially what
CodeGen does.
More of <rdar://problem/12137950>. The last part is tracking down the
C++ FIXME in array-struct-region.cpp.
llvm-svn: 164829
Diffstat (limited to 'clang/lib/Driver/Tools.cpp')
0 files changed, 0 insertions, 0 deletions