Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DUseOverrideCheck.cpp145 SourceLocation MethodLoc = Method->getLocation(); in check() local
149 !Sources.isBeforeInTranslationUnit(T.getLocation(), MethodLoc)) { in check()
162 !Sources.isBeforeInTranslationUnit(Loc, MethodLoc)) in check()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDeclObjC.cpp2250 SourceLocation MethodLoc = method->getBeginLoc(); in WarnUndefinedMethod() local
2251 if (MethodLoc.isValid()) in WarnUndefinedMethod()
2252 S.Diag(MethodLoc, diag::note_method_declared_at) << method; in WarnUndefinedMethod()
4710 Scope *S, SourceLocation MethodLoc, SourceLocation EndLoc, in ActOnMethodDeclaration() argument
4721 Diag(MethodLoc, diag::err_missing_method_context); in ActOnMethodDeclaration()
4733 if (CheckFunctionReturnType(resultDeclType, MethodLoc)) in ActOnMethodDeclaration()
4741 Diag(MethodLoc, diag::warn_missing_method_return_type) in ActOnMethodDeclaration()
4746 Context, MethodLoc, EndLoc, Sel, resultDeclType, ReturnTInfo, CurContext, in ActOnMethodDeclaration()
H A DSemaObjCProperty.cpp2228 SourceLocation MethodLoc = in AtomicPropertySetterGetterRules() local
2231 Diag(MethodLoc, diag::warn_atomic_property_rule) in AtomicPropertySetterGetterRules()
2253 Diag(MethodLoc, diag::note_atomic_property_fixup_suggest); in AtomicPropertySetterGetterRules()