diff options
author | arphaman <arphaman@gmail.com> | 2013-10-19 16:34:53 +0100 |
---|---|---|
committer | arphaman <arphaman@gmail.com> | 2013-10-19 16:34:53 +0100 |
commit | 1646423aa7d657da1e95126c5b1bf2a9e72d8160 (patch) | |
tree | 99339f9654a2c27f29d69da435bb9f4689b32aba | |
parent | 02422e2bc54b1b32cc7e630de0c00184ede623eb (diff) | |
download | flang-1646423aa7d657da1e95126c5b1bf2a9e72d8160.tar.gz |
fix do stmt search bug
-rw-r--r-- | lib/Sema/SemaExecStmt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaExecStmt.cpp b/lib/Sema/SemaExecStmt.cpp index 168aa68d23..30c67316b1 100644 --- a/lib/Sema/SemaExecStmt.cpp +++ b/lib/Sema/SemaExecStmt.cpp @@ -419,7 +419,7 @@ Stmt *Sema::LeaveBlocksUntilDo(SourceLocation Loc) { --I; auto S = Stack[I].Statement; if(isa<DoWhileStmt>(S) || - isa<DoStmt>(S) && !Stack[I].hasExpectedDoLabel()) { + (isa<DoStmt>(S) && !Stack[I].hasExpectedDoLabel())) { Result = S; break; } |