diff options
Diffstat (limited to 'clang/lib')
| -rw-r--r-- | clang/lib/Parse/ParseStmt.cpp | 6 | 
1 files changed, 0 insertions, 6 deletions
diff --git a/clang/lib/Parse/ParseStmt.cpp b/clang/lib/Parse/ParseStmt.cpp index baf8488e741..1136be006ff 100644 --- a/clang/lib/Parse/ParseStmt.cpp +++ b/clang/lib/Parse/ParseStmt.cpp @@ -667,13 +667,7 @@ Parser::OwningStmtResult Parser::ParseIfStatement(AttributeList *Attr) {      ParseScope InnerScope(this, Scope::DeclScope,                            C99orCXX && Tok.isNot(tok::l_brace)); -    // Regardless of whether or not InnerScope actually pushed a scope, set the -    // ElseScope flag for the innermost scope so we can diagnose use of the if -    // condition variable in C++. -    unsigned OldFlags = getCurScope()->getFlags(); -    getCurScope()->setFlags(OldFlags | Scope::ElseScope);      ElseStmt = ParseStatement(); -    getCurScope()->setFlags(OldFlags);      // Pop the 'else' scope if needed.      InnerScope.Exit();  | 

