Home
last modified time | relevance | path

Searched refs:isClassMethod (Results 1 – 20 of 20) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/google/
H A DAvoidNSObjectNewCheck.cpp103 objcMethodDecl(isClassMethod(), isDefinition(), hasName("new")) in registerMatchers()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DSemanticHighlighting.cpp109 return OMD->isClassMethod() ? HighlightingKind::StaticMethod in kindForDecl()
232 return OMD->isClassMethod(); in isStatic()
673 highlightObjCSelector(Locs, /*Decl=*/true, OMD->isClassMethod(), in VisitObjCMethodDecl()
697 if (OMD->isClassMethod()) in highlightObjCImplicitPropertyRef()
/llvm-project-15.0.7/clang/lib/Index/
H A DIndexBody.cpp251 if (Getter->isClassMethod() && in VisitObjCMessageExpr()
302 if (Getter->isClassMethod()) { in VisitObjCPropertyRefExpr()
/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Checkers/
H A DSValExplainer.h243 if (MD->isClassMethod()) in VisitParamVarRegion()
/llvm-project-15.0.7/clang/lib/ExtractAPI/
H A DDeclarationFragments.cpp573 if (Method->isClassMethod()) in getFragmentsForObjCMethod()
784 if (Method->isClassMethod()) in getSubHeading()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaAvailability.cpp103 if (Init && Result == AR_Available && MD->isClassMethod() && in ShouldDiagnoseAvailabilityOfDecl()
158 if (MethodD->isClassMethod() && in ShouldDiagnoseAvailabilityInContext()
H A DSemaDeclObjC.cpp2651 match = !(MethodDecl->isClassMethod() && in WarnExactTypedMethods()
5029 InferRelatedResultType = ObjCMethod->isClassMethod(); in ActOnMethodDeclaration()
5052 if (ObjCMethod->isClassMethod() && in ActOnMethodDeclaration()
5268 if (Method->isClassMethod()) in GetIvarBackingPropertyAccessor()
H A DSemaObjCProperty.cpp2004 x->isClassMethod() == Prop->isClassProperty(); in DiagnoseUnimplementedAccessor()
H A DSemaExprObjC.cpp1546 assert(MD->isClassMethod() && "expected a class method"); in getMessageSendResultType()
H A DSemaExpr.cpp2843 bool IsClassMethod = CurMethod->isClassMethod(); in LookupIvarInObjCMethod()
13695 DiagID = method->isClassMethod() in CheckForModifiableLvalue()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGObjCRuntime.cpp399 if (classReceiver && method && method->isClassMethod()) in canMessageReceiverBeNull()
H A DCGObjCMac.cpp1175 + (size_t(MD->isClassMethod())); in get()
3358 Methods[unsigned(MD->isClassMethod())].push_back(MD); in GenerateCategory()
3541 Methods[unsigned(MD->isClassMethod())].push_back(MD); in GenerateClass()
4046 if (OMD->isClassMethod()) { in GenerateDirectMethodPrologue()
H A DCGObjC.cpp73 assert(BoxingMethod->isClassMethod() && "BoxingMethod must be a class method"); in EmitObjCBoxedExpr()
/llvm-project-15.0.7/clang/lib/AST/
H A DMangle.cpp334 OS << (MD->isClassMethod() ? "_c_" : "_i_") in mangleObjCMethodName()
H A DDeclObjC.cpp1146 assert(isClassMethod()); in getSelfType()
/llvm-project-15.0.7/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp404 REGISTER_MATCHER(isClassMethod); in RegistryMaps()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DDeclObjC.h439 bool isClassMethod() const { return !isInstanceMethod(); } in isClassMethod() function
1043 &ObjCMethodDecl::isClassMethod>;
/llvm-project-15.0.7/clang/unittests/ASTMatchers/
H A DASTMatchersTraversalTest.cpp706 TEST(Matcher, isClassMethod) { in TEST() argument
709 objcMethodDecl(isClassMethod()))); in TEST()
714 objcMethodDecl(isClassMethod()))); in TEST()
718 objcMethodDecl(isClassMethod()))); in TEST()
723 objcMethodDecl(isClassMethod()))); in TEST()
/llvm-project-15.0.7/clang/include/clang/ASTMatchers/
H A DASTMatchers.h3655 AST_MATCHER(ObjCMethodDecl, isClassMethod) { in AST_MATCHER() argument
3656 return Node.isClassMethod(); in AST_MATCHER()
/llvm-project-15.0.7/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp4468 if (objc_method_decl->isClassMethod()) in GetMemberFunctionAtIndex()
4498 if (objc_method_decl->isClassMethod()) in GetMemberFunctionAtIndex()