Home
last modified time | relevance | path

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

/llvm-project/clang-tools-extra/clang-tidy/modernize/
H A DUseOverrideCheck.cpp154 SourceLocation MethodLoc = Method->getLocation(); in check() local
158 !Sources.isBeforeInTranslationUnit(T.getLocation(), MethodLoc)) { in check()
171 !Sources.isBeforeInTranslationUnit(Loc, MethodLoc)) in check()
/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()
/llvm-project/clang/lib/Sema/
H A DSemaDeclObjC.cpp2270 SourceLocation MethodLoc = method->getBeginLoc(); in WarnUndefinedMethod()
2271 if (MethodLoc.isValid()) in WarnUndefinedMethod()
2272 S.Diag(MethodLoc, diag::note_method_declared_at) << method; in WarnUndefinedMethod() local
4774 Scope *S, SourceLocation MethodLoc, SourceLocation EndLoc, in ActOnMethodDeclaration()
4786 Diag(MethodLoc, diag::err_missing_method_context); in ActOnMethodDeclaration()
4798 if (SemaRef.CheckFunctionReturnType(resultDeclType, MethodLoc)) in ActOnMethodDeclaration()
4806 Diag(MethodLoc, diag::warn_missing_method_return_type) in ActOnMethodDeclaration()
4811 Context, MethodLoc, EndLoc, Sel, resultDeclType, ReturnTInfo, in ActOnMethodDeclaration()
4729 ActOnMethodDeclaration(Scope * S,SourceLocation MethodLoc,SourceLocation EndLoc,tok::TokenKind MethodType,ObjCDeclSpec & ReturnQT,ParsedType ReturnType,ArrayRef<SourceLocation> SelectorLocs,Selector Sel,ObjCArgInfo * ArgInfo,DeclaratorChunk::ParamInfo * CParamInfo,unsigned CNumArgs,const ParsedAttributesView & AttrList,tok::ObjCKeywordKind MethodDeclKind,bool isVariadic,bool MethodDefinition) ActOnMethodDeclaration() argument
H A DSemaObjCProperty.cpp2204 SourceLocation MethodLoc = in AtomicPropertySetterGetterRules()
2207 Diag(MethodLoc, diag::warn_atomic_property_rule) in AtomicPropertySetterGetterRules()
2229 Diag(MethodLoc, diag::note_atomic_property_fixup_suggest); in AtomicPropertySetterGetterRules()
2206 SourceLocation MethodLoc = AtomicPropertySetterGetterRules() local