diff options
Diffstat (limited to 'clang/lib/Parse/ParseObjc.cpp')
-rw-r--r-- | clang/lib/Parse/ParseObjc.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Parse/ParseObjc.cpp b/clang/lib/Parse/ParseObjc.cpp index 759de7a0648..cc13a5e0ae1 100644 --- a/clang/lib/Parse/ParseObjc.cpp +++ b/clang/lib/Parse/ParseObjc.cpp @@ -840,6 +840,8 @@ void Parser::ParseObjCClassInstanceVariables(DeclTy *interfaceDecl, llvm::SmallVector<DeclTy*, 32> AllIvarDecls; llvm::SmallVector<FieldDeclarator, 8> FieldDeclarators; + ParseScope ClassScope(this, Scope::DeclScope); + SourceLocation LBraceLoc = ConsumeBrace(); // the "{" tok::ObjCKeywordKind visibility = tok::objc_protected; |