Lines Matching defs:protocol
75 // If this method was declared in a protocol, we can't check
129 /// Produce additional diagnostics if a category conforms to a protocol that
1111 /// ActOnTypedefedProtocols - this action finds protocol list as part of the
1131 // is not actually pointing to a protocol name reference but to the
1223 assert(ProtocolName && "Missing protocol identifier");
1228 // Create a new protocol that is completely distinct from previous
1229 // declarations, and do not make this protocol available for name lookup.
1253 // Check for circular dependencies among protocol declarations. This can
1254 // only happen if this protocol was forward-declared.
1309 /// protocol declarations in its 'Protocols' argument.
1332 // If this is a forward protocol declaration, get its definition.
1336 // For an objc container, delay protocol reference checking until after we
1370 // If we're allowed to find protocols and we have a protocol, accept it.
1382 // bias to protocol or type names.
1435 // protocol information.
1464 // For an objc container, delay protocol reference checking until after we
1470 // If this is a forward protocol declaration, get its definition.
1508 // protocol conformances are declared by the base class itself, in
1542 // If all of the names were protocols, these were protocol qualifiers.
1653 // type and protocol names. Go resolve all of the unresolved names
1657 // If we already have a protocol or type. Check whether it is the
1663 // If this name refers to both a protocol and a type (e.g., \c
1675 // If we want protocols and we have a protocol, there's nothing
1702 // Did we find a protocol?
1749 // protocol qualifiers.
1784 /// ActOnForwardProtocolDeclaration - Handle \@protocol foo;
1889 // checking for protocol uses.
2312 // Reject a protocol-unqualified id.
2637 // don't issue warning when protocol method is optional because primary
2638 // class is not required to implement it and it is safe for protocol
2677 /// with each protocol / interface / category the flattened instance tables. If
2707 /// Declared in protocol, and those referenced by it.
2720 // If this protocol is marked 'objc_protocol_requires_explicit_implementation'
2722 // conforms to this protocol, either directly or via protocol inheritance.
2723 // If so, we can skip checking this protocol completely because we
2724 // know that a parent class already satisfies this protocol.
2739 // If no super class conforms to the protocol, we should not search
2740 // for methods in the super class to implicitly satisfy the protocol.
2760 // If this is a forward protocol declaration, get its definition.
2767 // protocol. This lookup is slow, but occurs rarely in correct code
2787 // Ugly, but necessary. Method declared in protocol might have
2789 // uses the protocol.
2830 /// or protocol against those declared in their implementations.
2898 // this protocol.
2923 // Check for any implementation of a methods declared in protocol.
3020 // Check for type conflict of methods declared in a class/protocol and
3033 // Check the protocol list for unimplemented methods in the @implementation
3256 /// TODO: Handle protocol list; such as id<p1,p2> in type comparisons
3302 // If this method belongs to a protocol but the method in list does not, or
3485 // Check if the Method belongs to a protocol. We should allow any method
3486 // defined in any protocol, because any subclass could adopt the protocol.
4265 // Any Objective-C pointer type might be acceptable for a protocol
4340 void searchFrom(const ObjCProtocolDecl *protocol) {
4341 if (!protocol->hasDefinition())
4344 // A method in a protocol declaration overrides declarations from
4346 search(protocol->getReferencedProtocols());
4965 // Warn if a method declared in a protocol to which a category or