Searched refs:MethodLoc (Results 1 – 3 of 3) sorted by relevance
/freebsd/contrib/llvm-project/clang/lib/Index/ |
H A D | IndexDecl.cpp | 155 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/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaDeclObjC.cpp | 2272 SourceLocation MethodLoc = method->getBeginLoc(); in WarnUndefinedMethod() local 2273 if (MethodLoc.isValid()) in WarnUndefinedMethod() 2274 S.Diag(MethodLoc, diag::note_method_declared_at) << method; in WarnUndefinedMethod() 4729 Scope *S, SourceLocation MethodLoc, SourceLocation EndLoc, in ActOnMethodDeclaration() argument 4741 Diag(MethodLoc, diag::err_missing_method_context); in ActOnMethodDeclaration() 4753 if (SemaRef.CheckFunctionReturnType(resultDeclType, MethodLoc)) in ActOnMethodDeclaration() 4761 Diag(MethodLoc, diag::warn_missing_method_return_type) in ActOnMethodDeclaration() 4766 Context, MethodLoc, EndLoc, Sel, resultDeclType, ReturnTInfo, in ActOnMethodDeclaration()
|
H A D | SemaObjCProperty.cpp | 2206 SourceLocation MethodLoc = in AtomicPropertySetterGetterRules() local 2209 Diag(MethodLoc, diag::warn_atomic_property_rule) in AtomicPropertySetterGetterRules() 2231 Diag(MethodLoc, diag::note_atomic_property_fixup_suggest); in AtomicPropertySetterGetterRules()
|