forked from OSchip/llvm-project
parent
19f0b40dcf
commit
64bc7038a2
|
@ -1872,9 +1872,7 @@ bool Sema::IsSimplyAccessible(NamedDecl *Decl, DeclContext *Ctx) {
|
||||||
if (Ivar->getCanonicalAccessControl() == ObjCIvarDecl::Public ||
|
if (Ivar->getCanonicalAccessControl() == ObjCIvarDecl::Public ||
|
||||||
Ivar->getCanonicalAccessControl() == ObjCIvarDecl::Package)
|
Ivar->getCanonicalAccessControl() == ObjCIvarDecl::Package)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// If we are inside a class or category implementation, determine the
|
// If we are inside a class or category implementation, determine the
|
||||||
// interface we're in.
|
// interface we're in.
|
||||||
ObjCInterfaceDecl *ClassOfMethodDecl = 0;
|
ObjCInterfaceDecl *ClassOfMethodDecl = 0;
|
||||||
|
|
Loading…
Reference in New Issue