summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2010-12-22 07:20:27 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2010-12-22 07:20:27 +0000
commit7089250f5a97e98bf6b39c1d37e46e894ca1e383 (patch)
tree801060fa72fc42b17e9965494ee140229350969f /clang/test/Analysis
parentf3e5b4eb8062c35af7e715494760863dc57e0035 (diff)
downloadbcm5719-llvm-7089250f5a97e98bf6b39c1d37e46e894ca1e383.tar.gz
bcm5719-llvm-7089250f5a97e98bf6b39c1d37e46e894ca1e383.zip
After inlining the CXXConstructExpr, bind the temporary object region to it.
This change is necessary when the variable is a const reference and we need the l-value of the construct expr. After that, when binding the variable, recover the lazy compound value when the variable is not a reference. In Environment, use the value of a no-op cast expression when it has one. Otherwise, blast-through it. llvm-svn: 122388
Diffstat (limited to 'clang/test/Analysis')
-rw-r--r--clang/test/Analysis/method-call.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/test/Analysis/method-call.cpp b/clang/test/Analysis/method-call.cpp
index 31065f41dbf..8c6b9da0f40 100644
--- a/clang/test/Analysis/method-call.cpp
+++ b/clang/test/Analysis/method-call.cpp
@@ -1,5 +1,4 @@
// RUN: %clang_cc1 -analyze -analyzer-check-objc-mem -analyzer-inline-call -analyzer-store region -verify %s
-// XFAIL: *
struct A {
int x;
OpenPOWER on IntegriCloud