LookThroughStmt v4.6.3

llvm-svn: 143795
This commit is contained in:
Argyrios Kyrtzidis 2011-11-05 07:06:54 +00:00
parent 6b4fa1b4d6
commit e2cbe86dc4
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}