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

/freebsd-11-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-11-stable/contrib/llvm-project/clang/include/clang/Index/
H A DUSRGeneration.h40 void generateUSRForObjCCategory(StringRef Cls, StringRef Cat, raw_ostream &OS,
/freebsd-11-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-11-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())
273 for (const auto *Cat : OID->visible_categories()) {
274 if (!Cat->IsClassExtension())
275 if (ObjCPropertyDecl *P = Cat->FindPropertyDeclaration(
704 for (const auto *Cat : ClassDecl->visible_categories())
705 if ((MethodDecl = Cat->getMethod(Sel, isInstance)))
706 if (C != Cat || !MethodDec
[all...]
H A DASTContext.cpp2501 for (const auto *Cat : OI->visible_categories())
2502 CollectInheritedProtocols(Cat, Protocols);
H A DASTImporter.cpp4710 for (auto *Cat : From->known_categories()) {
4711 auto ToCatOrErr = import(Cat);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DCodeCompleteConsumer.cpp398 if (const auto *Cat = dyn_cast<ObjCCategoryDecl>(CurDC)) {
399 const ObjCInterfaceDecl *Interface = Cat->getClassInterface();
407 OS << Interface->getName() << '(' << Cat->getName() << ')';
H A DSemaDeclObjC.cpp151 if (ObjCCategoryDecl *Cat = dyn_cast<ObjCCategoryDecl>(DC))
152 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);
4776 if (auto *Cat
[all...]
H A DSemaCodeComplete.cpp4653 for (auto *Cat : IFace->known_categories())
4654 AddObjCProperties(CCContext, Cat, AllowCategories, AllowNullaryMethods,
6543 for (const auto *Cat : Class->known_categories()) {
6544 if ((SuperMethod = Cat->getMethod(CurMethod->getSelector(),
7255 for (const auto *Cat : Class->visible_categories())
7256 CategoryNames.insert(Cat->getIdentifier());
7299 for (const auto *Cat : Class->visible_categories()) {
7300 if ((!IgnoreImplemented || !Cat->getImplementation()) &&
7301 CategoryNames.insert(Cat->getIdentifier()).second)
7302 Results.AddResult(Result(Cat, Result
[all...]
H A DSemaObjCProperty.cpp263 } else if (ObjCCategoryDecl *Cat = dyn_cast<ObjCCategoryDecl>(ClassDecl)) {
267 if (!Cat->IsClassExtension())
268 for (auto *P : Cat->protocols())
2606 if (ObjCCategoryDecl *Cat = dyn_cast<ObjCCategoryDecl>(CD))
2607 CurrentClass = Cat->getClassInterface();
H A DSemaLookup.cpp3916 for (auto *Cat : IFace->visible_categories()) {
3918 lookupInDeclContext(Cat, Result, QualifiedNameLookup,
H A DSemaDeclCXX.cpp7488 Optional<ComparisonCategoryType> Cat =
7490 assert(Cat && "no category for builtin comparison?");
7491 R.Category = *Cat;
8143 QualType Cat = CheckComparisonCategoryType(
8145 if (Cat.isNull())
8148 FD, SubstAutoType(FD->getDeclaredReturnType(), Cat));
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
H A DDeclObjC.h1656 static bool isVisibleCategory(ObjCCategoryDecl *Cat);
1726 static bool isVisibleExtension(ObjCCategoryDecl *Cat);
1762 static bool isKnownExtension(ObjCCategoryDecl *Cat);
1884 const ObjCCategoryDecl *Cat,
1889 Cat);
2910 inline bool ObjCInterfaceDecl::isVisibleCategory(ObjCCategoryDecl *Cat) { argument
2911 return !Cat->isHidden();
2914 inline bool ObjCInterfaceDecl::isVisibleExtension(ObjCCategoryDecl *Cat) { argument
2915 return Cat->IsClassExtension() && !Cat
1883 lookupPropertyAccessor(const Selector Sel, const ObjCCategoryDecl *Cat, bool IsClassProperty) const argument
2918 isKnownExtension(ObjCCategoryDecl *Cat) argument
[all...]
H A DExpr.h431 void setValueKind(ExprValueKind Cat) { ExprBits.ValueKind = Cat; } argument
434 void setObjectKind(ExprObjectKind Cat) { ExprBits.ObjectKind = Cat; } argument
3301 ExprValueKind Cat);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DCommandLine.cpp2280 for (auto &Cat : Opt->Categories) {
2281 assert(CategorizedOptions.count(Cat) > 0 &&
2283 CategorizedOptions[Cat].push_back(Opt);
2563 for (auto &Cat : I.second->Categories) {
2564 if (Cat != &Category &&
2565 Cat != &GenericCategory)
2574 for (auto &Cat : I.second->Categories) {
2575 if (find(Categories, Cat) == Categories.end() && Cat != &GenericCategory)
/freebsd-11-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp309 static void setNextObjCCategory(ObjCCategoryDecl *Cat, argument
311 Cat->NextClassCategory = Next;
4239 void add(ObjCCategoryDecl *Cat) { argument
4241 if (!Deserialized.erase(Cat))
4245 if (Cat->getDeclName()) {
4246 ObjCCategoryDecl *&Existing = NameCategoryMap[Cat->getDeclName()];
4249 != Reader.getOwningModuleFile(Cat)) {
4261 Reader.Diag(Cat->getLocation(), diag::warn_dup_category_def)
4262 << Interface->getDeclName() << Cat->getDeclName();
4266 Existing = Cat;
[all...]
H A DASTWriterDecl.cpp776 if (ObjCCategoryDecl *Cat = D->getCategoryListRaw()) {
781 for (; Cat; Cat = Cat->getNextClassCategoryRaw())
782 (void)Writer.GetDeclRef(Cat);
H A DASTWriter.cpp4015 Cat = Class->known_categories_begin(),
4017 Cat != CatEnd; ++Cat, ++Size) {
4018 assert(getDeclID(*Cat) != 0 && "Bogus category");
4019 AddDeclRef(*Cat, Categories);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Index/
H A DUSRGeneration.cpp1031 void clang::index::generateUSRForObjCCategory(StringRef Cls, StringRef Cat, argument
1036 OS << "objc(cy)" << Cls << '@' << Cat; local
H A DIndexDecl.cpp478 const ObjCCategoryDecl *Cat = D->getCategoryDecl(); local
479 if (!Cat)
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjCGNU.cpp1582 auto *Cat = cast<llvm::GlobalVariable>(C->stripPointerCasts()); variable
1583 Cat->setSection(sectionName<CategorySection>());
1584 CGM.addUsedGlobal(Cat);
/freebsd-11-stable/contrib/llvm-project/clang/utils/TableGen/
H A DClangAttrEmitter.cpp4093 const StringRef Cat = Category->getValueAsString("Name");
4094 bool Undocumented = Cat == "Undocumented";

Completed in 604 milliseconds