From 85368fb32dd68a9ad7db9f5632daf7fafe861420 Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Thu, 2 Apr 2015 22:09:32 +0000 Subject: Correct typos in SEH filter expressions Otherwise we assert due to uncorrected delayed typos. llvm-svn: 233980 --- clang/lib/Parse/ParseStmt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/Parse/ParseStmt.cpp') diff --git a/clang/lib/Parse/ParseStmt.cpp b/clang/lib/Parse/ParseStmt.cpp index d15f2af65eb..c31216d0ae2 100644 --- a/clang/lib/Parse/ParseStmt.cpp +++ b/clang/lib/Parse/ParseStmt.cpp @@ -476,7 +476,7 @@ StmtResult Parser::ParseSEHExceptBlock(SourceLocation ExceptLoc) { { ParseScopeFlags FilterScope(this, getCurScope()->getFlags() | Scope::SEHFilterScope); - FilterExpr = ParseExpression(); + FilterExpr = Actions.CorrectDelayedTyposInExpr(ParseExpression()); } if (getLangOpts().Borland) { -- cgit v1.2.3