From 64bc7038a2846cca5cc08002d4f194d581d86398 Mon Sep 17 00:00:00 2001 From: Serge Pavlov Date: Tue, 7 May 2013 16:56:03 +0000 Subject: [PATCH] Test commit llvm-svn: 181332 --- clang/lib/Sema/SemaAccess.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/clang/lib/Sema/SemaAccess.cpp b/clang/lib/Sema/SemaAccess.cpp index 3ef1fdebaac7..a99992748dbc 100644 --- a/clang/lib/Sema/SemaAccess.cpp +++ b/clang/lib/Sema/SemaAccess.cpp @@ -1872,9 +1872,7 @@ bool Sema::IsSimplyAccessible(NamedDecl *Decl, DeclContext *Ctx) { if (Ivar->getCanonicalAccessControl() == ObjCIvarDecl::Public || Ivar->getCanonicalAccessControl() == ObjCIvarDecl::Package) return true; - - - + // If we are inside a class or category implementation, determine the // interface we're in. ObjCInterfaceDecl *ClassOfMethodDecl = 0;