Lines Matching defs:ObjCProtocolDecl
54 void ObjCProtocolList::set(ObjCProtocolDecl* const* InList, unsigned Elts,
96 if (const auto *Proto = dyn_cast<ObjCProtocolDecl>(this)) {
97 if (const ObjCProtocolDecl *Def = Proto->getDefinition())
170 if (const auto *PD = dyn_cast<ObjCProtocolDecl>(this))
183 if (const auto *Proto = dyn_cast<ObjCProtocolDecl>(DC)) {
184 if (const ObjCProtocolDecl *Def = Proto->getDefinition())
241 if (const auto *Proto = dyn_cast<ObjCProtocolDecl>(this)) {
242 if (const ObjCProtocolDecl *Def = Proto->getDefinition())
265 const auto *PID = cast<ObjCProtocolDecl>(this);
435 ObjCProtocolDecl *const* ExtList, unsigned ExtNum,
449 SmallVector<ObjCProtocolDecl *, 8> ProtocolRefs;
452 ObjCProtocolDecl *ProtoInExtension = ExtList[i];
671 ObjCProtocolDecl *
720 const ObjCList<ObjCProtocolDecl> &Protocols =
839 if (const auto *PD = dyn_cast<const ObjCProtocolDecl>(getDeclContext()))
851 if (isa<ObjCProtocolDecl>(DC))
1167 if (isa<ObjCProtocolDecl>(getDeclContext()))
1243 if (const auto *Protocol = dyn_cast<ObjCProtocolDecl>(Container)){
1273 dyn_cast<ObjCProtocolDecl>(Method->getDeclContext())) {
1738 bool ObjCInterfaceDecl::ClassImplementsProtocol(ObjCProtocolDecl *lProto,
1875 // ObjCProtocolDecl
1878 void ObjCProtocolDecl::anchor() {}
1880 ObjCProtocolDecl::ObjCProtocolDecl(ASTContext &C, DeclContext *DC,
1883 ObjCProtocolDecl *PrevDecl)
1891 ObjCProtocolDecl *ObjCProtocolDecl::Create(ASTContext &C, DeclContext *DC,
1895 ObjCProtocolDecl *PrevDecl) {
1897 new (C, DC) ObjCProtocolDecl(C, DC, Id, nameLoc, atStartLoc, PrevDecl);
1902 ObjCProtocolDecl *ObjCProtocolDecl::CreateDeserialized(ASTContext &C,
1904 ObjCProtocolDecl *Result =
1905 new (C, ID) ObjCProtocolDecl(C, nullptr, nullptr, SourceLocation(),
1911 bool ObjCProtocolDecl::isNonRuntimeProtocol() const {
1915 void ObjCProtocolDecl::getImpliedProtocols(
1916 llvm::DenseSet<const ObjCProtocolDecl *> &IPs) const {
1917 std::queue<const ObjCProtocolDecl *> WorkQueue;
1932 ObjCProtocolDecl *ObjCProtocolDecl::lookupProtocolNamed(IdentifierInfo *Name) {
1933 ObjCProtocolDecl *PDecl = this;
1947 ObjCMethodDecl *ObjCProtocolDecl::lookupMethod(Selector Sel,
1953 const ObjCProtocolDecl *Def = getDefinition();
1966 void ObjCProtocolDecl::allocateDefinitionData() {
1972 void ObjCProtocolDecl::startDefinition() {
1980 void ObjCProtocolDecl::collectPropertiesToImplement(PropertyMap &PM,
1982 if (const ObjCProtocolDecl *PDecl = getDefinition()) {
1996 void ObjCProtocolDecl::collectInheritedProtocolProperties(
1999 if (const ObjCProtocolDecl *PDecl = getDefinition()) {
2017 ObjCProtocolDecl::getObjCRuntimeNameAsString() const {