Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/Index/
H A DIndexDecl.cpp142 SourceLocation MethodLoc = D->getSelectorStartLoc(); in handleObjCMethod() local
143 if (MethodLoc.isInvalid()) in handleObjCMethod()
144 MethodLoc = D->getLocation(); in handleObjCMethod()
159 MethodLoc = AttrLoc; in handleObjCMethod()
168 TRY_DECL(D, IndexCtx.handleDecl(D, MethodLoc, Roles, Relations)); in handleObjCMethod()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaDeclObjC.cpp2213 SourceLocation MethodLoc = method->getBeginLoc(); in WarnUndefinedMethod() local
2214 if (MethodLoc.isValid()) in WarnUndefinedMethod()
2215 S.Diag(MethodLoc, diag::note_method_declared_at) << method; in WarnUndefinedMethod()
4525 Scope *S, SourceLocation MethodLoc, SourceLocation EndLoc, in ActOnMethodDeclaration() argument
4536 Diag(MethodLoc, diag::err_missing_method_context); in ActOnMethodDeclaration()
4547 if (CheckFunctionReturnType(resultDeclType, MethodLoc)) in ActOnMethodDeclaration()
4555 Diag(MethodLoc, diag::warn_missing_method_return_type) in ActOnMethodDeclaration()
4560 Context, MethodLoc, EndLoc, Sel, resultDeclType, ReturnTInfo, CurContext, in ActOnMethodDeclaration()
H A DSemaObjCProperty.cpp2175 SourceLocation MethodLoc = in AtomicPropertySetterGetterRules() local
2178 Diag(MethodLoc, diag::warn_atomic_property_rule) in AtomicPropertySetterGetterRules()
2201 Diag(MethodLoc, diag::note_atomic_property_fixup_suggest); in AtomicPropertySetterGetterRules()