diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-11-05 07:06:54 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-11-05 07:06:54 +0000 |
commit | 51e4e1ee2cd46a623df2c7a3f87e48ebcbf7b546 (patch) | |
tree | 13af79b63db6cde24f9394bdeb9a0f0df273bd5b /lib/Analysis/LiveVariables.cpp | |
parent | 74b5edd7a23e493a968dbe3d6a05974dc62892ad (diff) |
LookThroughStmt v4.6.3
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143795 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/LiveVariables.cpp')
-rw-r--r-- | lib/Analysis/LiveVariables.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<Expr>(S)) return E->IgnoreParens(); if (const OpaqueValueExpr *OVE = dyn_cast<OpaqueValueExpr>(S)) - return OVE->IgnoreParens(); + return OVE->getSourceExpr()->IgnoreParens(); return S; } |