From 51e4e1ee2cd46a623df2c7a3f87e48ebcbf7b546 Mon Sep 17 00:00:00 2001 From: Argyrios Kyrtzidis Date: Sat, 5 Nov 2011 07:06:54 +0000 Subject: [PATCH] LookThroughStmt v4.6.3 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143795 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/LiveVariables.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Analysis/LiveVariables.cpp b/lib/Analysis/LiveVariables.cpp index 3eecc89a08..9e10cb4ec1 100644 --- a/lib/Analysis/LiveVariables.cpp +++ b/lib/Analysis/LiveVariables.cpp @@ -235,7 +235,7 @@ static const Stmt *LookThroughStmt(const Stmt *S) { if (const Expr *E = dyn_cast(S)) return E->IgnoreParens(); if (const OpaqueValueExpr *OVE = dyn_cast(S)) - return OVE->IgnoreParens(); + return OVE->getSourceExpr()->IgnoreParens(); return S; } -- 2.50.1