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