Lines Matching refs:Cat
320 static void setNextObjCCategory(ObjCCategoryDecl *Cat, in setNextObjCCategory() argument
322 Cat->NextClassCategory = Next; in setNextObjCCategory()
4405 void add(ObjCCategoryDecl *Cat) { in add() argument
4407 if (!Deserialized.erase(Cat)) in add()
4411 if (Cat->getDeclName()) { in add()
4412 ObjCCategoryDecl *&Existing = NameCategoryMap[Cat->getDeclName()]; in add()
4414 Reader.getOwningModuleFile(Cat)) { in add()
4417 Cat->getASTContext(), Existing->getASTContext(), in add()
4422 if (!Ctx.IsEquivalent(Cat, Existing)) { in add()
4424 Reader.Diag(Cat->getLocation(), diag::warn_dup_category_def) in add()
4425 << Interface->getDeclName() << Cat->getDeclName(); in add()
4431 Existing = Cat; in add()
4437 ASTDeclReader::setNextObjCCategory(Tail, Cat); in add()
4439 Interface->setCategoryListRaw(Cat); in add()
4440 Tail = Cat; in add()
4451 for (auto *Cat : Interface->known_categories()) { in ObjCCategoriesVisitor() local
4452 if (Cat->getDeclName()) in ObjCCategoriesVisitor()
4453 NameCategoryMap[Cat->getDeclName()] = Cat; in ObjCCategoriesVisitor()
4456 Tail = Cat; in ObjCCategoriesVisitor()