Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DUseOverrideCheck.cpp145 SourceLocation MethodLoc = Method->getLocation(); in check() local
149 !Sources.isBeforeInTranslationUnit(T.getLocation(), MethodLoc)) { in check()
162 !Sources.isBeforeInTranslationUnit(Loc, MethodLoc)) in check()
/external/llvm-project/clang/lib/Index/
DIndexDecl.cpp149 SourceLocation MethodLoc = D->getSelectorStartLoc(); in handleObjCMethod() local
150 if (MethodLoc.isInvalid()) in handleObjCMethod()
151 MethodLoc = D->getLocation(); in handleObjCMethod()
166 MethodLoc = AttrLoc; in handleObjCMethod()
175 TRY_DECL(D, IndexCtx.handleDecl(D, MethodLoc, Roles, Relations)); in handleObjCMethod()
/external/clang/lib/Sema/
DSemaDeclObjC.cpp2142 SourceLocation MethodLoc = method->getLocStart(); in WarnUndefinedMethod() local
2143 if (MethodLoc.isValid()) in WarnUndefinedMethod()
2144 S.Diag(MethodLoc, diag::note_method_declared_at) << method; in WarnUndefinedMethod()
4280 SourceLocation MethodLoc, SourceLocation EndLoc, in ActOnMethodDeclaration() argument
4293 Diag(MethodLoc, diag::error_missing_method_context); in ActOnMethodDeclaration()
4305 if (CheckFunctionReturnType(resultDeclType, MethodLoc)) in ActOnMethodDeclaration()
4313 Diag(MethodLoc, diag::warn_missing_method_return_type) in ActOnMethodDeclaration()
4318 Context, MethodLoc, EndLoc, Sel, resultDeclType, ReturnTInfo, CurContext, in ActOnMethodDeclaration()
DSemaObjCProperty.cpp2004 SourceLocation MethodLoc = in AtomicPropertySetterGetterRules() local
2007 Diag(MethodLoc, diag::warn_atomic_property_rule) in AtomicPropertySetterGetterRules()
2030 Diag(MethodLoc, diag::note_atomic_property_fixup_suggest); in AtomicPropertySetterGetterRules()
/external/llvm-project/clang/lib/Sema/
DSemaDeclObjC.cpp2237 SourceLocation MethodLoc = method->getBeginLoc(); in WarnUndefinedMethod() local
2238 if (MethodLoc.isValid()) in WarnUndefinedMethod()
2239 S.Diag(MethodLoc, diag::note_method_declared_at) << method; in WarnUndefinedMethod()
4700 Scope *S, SourceLocation MethodLoc, SourceLocation EndLoc, in ActOnMethodDeclaration() argument
4711 Diag(MethodLoc, diag::err_missing_method_context); in ActOnMethodDeclaration()
4723 if (CheckFunctionReturnType(resultDeclType, MethodLoc)) in ActOnMethodDeclaration()
4731 Diag(MethodLoc, diag::warn_missing_method_return_type) in ActOnMethodDeclaration()
4736 Context, MethodLoc, EndLoc, Sel, resultDeclType, ReturnTInfo, CurContext, in ActOnMethodDeclaration()
DSemaObjCProperty.cpp2237 SourceLocation MethodLoc = in AtomicPropertySetterGetterRules() local
2240 Diag(MethodLoc, diag::warn_atomic_property_rule) in AtomicPropertySetterGetterRules()
2262 Diag(MethodLoc, diag::note_atomic_property_fixup_suggest); in AtomicPropertySetterGetterRules()