Home
last modified time | relevance | path

Searched refs:UndefinedProtocol (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dclass-proto-1.m44 @protocol UndefinedProtocol <UndefinedParentProtocol>
47 …rface SomeObject : NSObject <UndefinedProtocol> // expected-warning {{cannot find protocol definit…
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDeclObjC.cpp1281 ObjCProtocolDecl *&UndefinedProtocol) { in NestedProtocolHasNoDefinition() argument
1284 UndefinedProtocol = PDecl; in NestedProtocolHasNoDefinition()
1289 if (NestedProtocolHasNoDefinition(PI, UndefinedProtocol)) { in NestedProtocolHasNoDefinition()
1290 UndefinedProtocol = PI; in NestedProtocolHasNoDefinition()
1332 ObjCProtocolDecl *UndefinedProtocol; in FindProtocolDeclaration() local
1335 NestedProtocolHasNoDefinition(PDecl, UndefinedProtocol)) { in FindProtocolDeclaration()
1337 Diag(UndefinedProtocol->getLocation(), diag::note_protocol_decl_undefined) in FindProtocolDeclaration()
1338 << UndefinedProtocol; in FindProtocolDeclaration()