Lines Matching refs:Cat
325 static void setNextObjCCategory(ObjCCategoryDecl *Cat, in setNextObjCCategory() argument
327 Cat->NextClassCategory = Next; in setNextObjCCategory()
4341 void add(ObjCCategoryDecl *Cat) { in add() argument
4343 if (!Deserialized.erase(Cat)) in add()
4347 if (Cat->getDeclName()) { in add()
4348 ObjCCategoryDecl *&Existing = NameCategoryMap[Cat->getDeclName()]; in add()
4350 Reader.getOwningModuleFile(Cat)) { in add()
4353 Cat->getASTContext(), Existing->getASTContext(), in add()
4358 if (!Ctx.IsEquivalent(Cat, Existing)) { in add()
4360 Reader.Diag(Cat->getLocation(), diag::warn_dup_category_def) in add()
4361 << Interface->getDeclName() << Cat->getDeclName(); in add()
4367 Existing = Cat; in add()
4373 ASTDeclReader::setNextObjCCategory(Tail, Cat); in add()
4375 Interface->setCategoryListRaw(Cat); in add()
4376 Tail = Cat; in add()
4388 for (auto *Cat : Interface->known_categories()) { in ObjCCategoriesVisitor() local
4389 if (Cat->getDeclName()) in ObjCCategoriesVisitor()
4390 NameCategoryMap[Cat->getDeclName()] = Cat; in ObjCCategoriesVisitor()
4393 Tail = Cat; in ObjCCategoriesVisitor()