Searched refs:Cat (Results 1 - 22 of 22) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DBugType.h40 BugType(CheckerNameRef CheckerName, StringRef Name, StringRef Cat, argument
42 : CheckerName(CheckerName), Description(Name), Category(Cat),
44 BugType(const CheckerBase *Checker, StringRef Name, StringRef Cat, argument
47 Category(Cat), Checker(Checker), SuppressOnSink(SuppressOnSink) {}
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Index/
H A DUSRGeneration.h40 void generateUSRForObjCCategory(StringRef Cls, StringRef Cat, raw_ostream &OS,
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DObjCUnusedIVarsChecker.cpp89 for (const auto *Cat : ID->getClassInterface()->visible_categories()) {
90 if (const ObjCCategoryImplDecl *CID = Cat->getImplementation())
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DDeclObjC.cpp137 for (const auto *Cat : ID->visible_categories()) {
138 if (ObjCMethodDecl *MD = Cat->getInstanceMethod(Sel))
141 if (Cat->IsClassExtension())
147 for (const auto *P : Cat->properties())
274 for (const auto *Cat : OID->visible_categories()) {
275 if (!Cat->IsClassExtension())
276 if (ObjCPropertyDecl *P = Cat->FindPropertyDeclaration(
705 for (const auto *Cat : ClassDecl->visible_categories())
706 if ((MethodDecl = Cat->getMethod(Sel, isInstance)))
707 if (C != Cat || !MethodDec
[all...]
H A DASTContext.cpp2489 for (const auto *Cat : OI->visible_categories())
2490 CollectInheritedProtocols(Cat, Protocols);
H A DASTImporter.cpp4747 for (auto *Cat : From->known_categories()) {
4748 auto ToCatOrErr = import(Cat);
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DCodeCompleteConsumer.cpp399 if (const auto *Cat = dyn_cast<ObjCCategoryDecl>(CurDC)) {
400 const ObjCInterfaceDecl *Interface = Cat->getClassInterface();
408 OS << Interface->getName() << '(' << Cat->getName() << ')';
H A DSemaDeclObjC.cpp152 if (ObjCCategoryDecl *Cat = dyn_cast<ObjCCategoryDecl>(DC))
153 CurrentClass = Cat->getClassInterface();
2886 for (auto *Cat : I->visible_categories())
2888 IMPDecl, Cat, IncompleteImpl,
2889 ImmediateClass && Cat->IsClassExtension(),
4111 if (ObjCCategoryDecl *Cat
4113 ImplMethodsVsClassMethods(S, CatImplClass, Cat);
4302 for (auto *Cat : iface->known_categories())
4303 search(Cat);
4630 for (const auto *Cat
[all...]
H A DSemaCodeComplete.cpp4685 for (auto *Cat : IFace->known_categories())
4686 AddObjCProperties(CCContext, Cat, AllowCategories, AllowNullaryMethods,
7086 for (const auto *Cat : Class->known_categories()) {
7087 if ((SuperMethod = Cat->getMethod(CurMethod->getSelector(),
7798 for (const auto *Cat : Class->visible_categories())
7799 CategoryNames.insert(Cat->getIdentifier());
7842 for (const auto *Cat : Class->visible_categories()) {
7843 if ((!IgnoreImplemented || !Cat->getImplementation()) &&
7844 CategoryNames.insert(Cat->getIdentifier()).second)
7845 Results.AddResult(Result(Cat, Result
[all...]
H A DSemaObjCProperty.cpp261 } else if (ObjCCategoryDecl *Cat = dyn_cast<ObjCCategoryDecl>(ClassDecl)) {
265 if (!Cat->IsClassExtension())
266 for (auto *P : Cat->protocols())
2639 if (ObjCCategoryDecl *Cat = dyn_cast<ObjCCategoryDecl>(CD))
2640 CurrentClass = Cat->getClassInterface();
H A DSemaLookup.cpp3831 for (auto *Cat : IFace->visible_categories()) {
3833 lookupInDeclContext(Cat, Result, QualifiedNameLookup,
H A DSemaDeclCXX.cpp7738 Optional<ComparisonCategoryType> Cat =
7740 assert(Cat && "no category for builtin comparison?");
7741 R.Category = *Cat;
8393 QualType Cat = CheckComparisonCategoryType(
8395 if (Cat.isNull())
8398 FD, SubstAutoType(FD->getDeclaredReturnType(), Cat));
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DDeclObjC.h1633 static bool isVisibleCategory(ObjCCategoryDecl *Cat);
1703 static bool isVisibleExtension(ObjCCategoryDecl *Cat);
1739 static bool isKnownExtension(ObjCCategoryDecl *Cat);
1861 const ObjCCategoryDecl *Cat,
1866 Cat);
2885 inline bool ObjCInterfaceDecl::isVisibleCategory(ObjCCategoryDecl *Cat) { argument
2886 return Cat->isUnconditionallyVisible();
2889 inline bool ObjCInterfaceDecl::isVisibleExtension(ObjCCategoryDecl *Cat) { argument
2890 return Cat->IsClassExtension() && Cat
1860 lookupPropertyAccessor(const Selector Sel, const ObjCCategoryDecl *Cat, bool IsClassProperty) const argument
2893 isKnownExtension(ObjCCategoryDecl *Cat) argument
[all...]
H A DExpr.h446 void setValueKind(ExprValueKind Cat) { ExprBits.ValueKind = Cat; } argument
449 void setObjectKind(ExprObjectKind Cat) { ExprBits.ObjectKind = Cat; } argument
3511 ExprValueKind Cat);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/
H A DCommandLine.cpp2312 for (auto &Cat : Opt->Categories) {
2313 assert(CategorizedOptions.count(Cat) > 0 &&
2315 CategorizedOptions[Cat].push_back(Opt);
2595 for (auto &Cat : I.second->Categories) {
2596 if (Cat != &Category &&
2597 Cat != &GenericCategory)
2606 for (auto &Cat : I.second->Categories) {
2607 if (find(Categories, Cat) == Categories.end() && Cat != &GenericCategory)
/freebsd-13-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp309 static void setNextObjCCategory(ObjCCategoryDecl *Cat, argument
311 Cat->NextClassCategory = Next;
4272 void add(ObjCCategoryDecl *Cat) { argument
4274 if (!Deserialized.erase(Cat))
4278 if (Cat->getDeclName()) {
4279 ObjCCategoryDecl *&Existing = NameCategoryMap[Cat->getDeclName()];
4282 != Reader.getOwningModuleFile(Cat)) {
4294 Reader.Diag(Cat->getLocation(), diag::warn_dup_category_def)
4295 << Interface->getDeclName() << Cat->getDeclName();
4299 Existing = Cat;
[all...]
H A DASTWriterDecl.cpp777 if (ObjCCategoryDecl *Cat = D->getCategoryListRaw()) {
782 for (; Cat; Cat = Cat->getNextClassCategoryRaw())
783 (void)Writer.GetDeclRef(Cat);
H A DASTWriter.cpp4071 Cat = Class->known_categories_begin(),
4073 Cat != CatEnd; ++Cat, ++Size) {
4074 assert(getDeclID(*Cat) != 0 && "Bogus category");
4075 AddDeclRef(*Cat, Categories);
/freebsd-13-stable/contrib/llvm-project/clang/lib/Index/
H A DIndexDecl.cpp483 const ObjCCategoryDecl *Cat = D->getCategoryDecl(); local
484 if (!Cat)
H A DUSRGeneration.cpp1033 void clang::index::generateUSRForObjCCategory(StringRef Cls, StringRef Cat, argument
1038 OS << "objc(cy)" << Cls << '@' << Cat; local
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjCGNU.cpp1590 auto *Cat = cast<llvm::GlobalVariable>(C->stripPointerCasts()); variable
1591 Cat->setSection(sectionName<CategorySection>());
1592 CGM.addUsedGlobal(Cat);
/freebsd-13-stable/contrib/llvm-project/clang/utils/TableGen/
H A DClangAttrEmitter.cpp4169 const StringRef Cat = Category->getValueAsString("Name");
4170 bool Undocumented = Cat == "Undocumented";

Completed in 585 milliseconds