diff options
Diffstat (limited to 'lib/Analysis/LiveVariables.cpp')
-rw-r--r-- | lib/Analysis/LiveVariables.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Analysis/LiveVariables.cpp b/lib/Analysis/LiveVariables.cpp index 9e10cb4ec1..69b0933042 100644 --- a/lib/Analysis/LiveVariables.cpp +++ b/lib/Analysis/LiveVariables.cpp @@ -232,10 +232,10 @@ static const VariableArrayType *FindVA(QualType Ty) { } 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->getSourceExpr()->IgnoreParens(); + if (const Expr *E = dyn_cast<Expr>(S)) + return E->IgnoreParens(); return S; } |