Home
last modified time | relevance | path

Searched refs:MethodLoc (Results 1 – 3 of 3) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/Index/
H A DIndexDecl.cpp155 SourceLocation MethodLoc = D->getSelectorStartLoc(); in handleObjCMethod() local
156 if (MethodLoc.isInvalid()) in handleObjCMethod()
157 MethodLoc = D->getLocation(); in handleObjCMethod()
172 MethodLoc = AttrLoc; in handleObjCMethod()
181 TRY_DECL(D, IndexCtx.handleDecl(D, MethodLoc, Roles, Relations)); in handleObjCMethod()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclObjC.cpp2264 SourceLocation MethodLoc = method->getBeginLoc(); in WarnUndefinedMethod() local
2265 if (MethodLoc.isValid()) in WarnUndefinedMethod()
2266 S.Diag(MethodLoc, diag::note_method_declared_at) << method; in WarnUndefinedMethod()
4721 Scope *S, SourceLocation MethodLoc, SourceLocation EndLoc, in ActOnMethodDeclaration() argument
4732 Diag(MethodLoc, diag::err_missing_method_context); in ActOnMethodDeclaration()
4744 if (CheckFunctionReturnType(resultDeclType, MethodLoc)) in ActOnMethodDeclaration()
4752 Diag(MethodLoc, diag::warn_missing_method_return_type) in ActOnMethodDeclaration()
4757 Context, MethodLoc, EndLoc, Sel, resultDeclType, ReturnTInfo, CurContext, in ActOnMethodDeclaration()
H A DSemaObjCProperty.cpp2224 SourceLocation MethodLoc = in AtomicPropertySetterGetterRules() local
2227 Diag(MethodLoc, diag::warn_atomic_property_rule) in AtomicPropertySetterGetterRules()
2249 Diag(MethodLoc, diag::note_atomic_property_fixup_suggest); in AtomicPropertySetterGetterRules()