Skip to content
This repository was archived by the owner on Nov 1, 2021. It is now read-only.

Commit 51e4e1e

Browse files
committed
LookThroughStmt v4.6.3
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143795 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 74b5edd commit 51e4e1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Analysis/LiveVariables.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ static const Stmt *LookThroughStmt(const Stmt *S) {
235235
if (const Expr *E = dyn_cast<Expr>(S))
236236
return E->IgnoreParens();
237237
if (const OpaqueValueExpr *OVE = dyn_cast<OpaqueValueExpr>(S))
238-
return OVE->IgnoreParens();
238+
return OVE->getSourceExpr()->IgnoreParens();
239239
return S;
240240
}
241241

0 commit comments

Comments
 (0)