Lines Matching refs:Sema

42 bool Sema::checkInitMethod(ObjCMethodDecl *method,  in checkInitMethod()
112 void Sema::CheckObjCMethodOverride(ObjCMethodDecl *NewMethod, in CheckObjCMethodOverride()
194 bool Sema::CheckARCMethodDecl(ObjCMethodDecl *method) { in CheckARCMethodDecl()
251 static void DiagnoseObjCImplementedDeprecations(Sema &S, in DiagnoseObjCImplementedDeprecations()
267 void Sema::AddAnyMethodToGlobalPool(Decl *D) { in AddAnyMethodToGlobalPool()
282 HasExplicitOwnershipAttr(Sema &S, ParmVarDecl *Param) { in HasExplicitOwnershipAttr()
300 void Sema::ActOnStartOfObjCMethodDef(Scope *FnBodyScope, Decl *D) { in ActOnStartOfObjCMethodDef()
451 static void diagnoseUseOfProtocols(Sema &TheSema, in diagnoseUseOfProtocols()
458 Sema::ContextRAII SavedContext(TheSema, CD); in diagnoseUseOfProtocols()
464 void Sema::
590 DeclResult Sema::actOnObjCTypeParam(Scope *S, in actOnObjCTypeParam()
693 ObjCTypeParamList *Sema::actOnObjCTypeParamList(Scope *S, in actOnObjCTypeParamList()
728 void Sema::popObjCTypeParamList(Scope *S, ObjCTypeParamList *typeParamList) { in popObjCTypeParamList()
751 static bool checkTypeParamListConsistency(Sema &S, in checkTypeParamListConsistency()
899 Decl *Sema::
1030 void Sema::ActOnTypedefedProtocols(SmallVectorImpl<Decl *> &ProtocolRefs, in ActOnTypedefedProtocols()
1050 Decl *Sema::ActOnCompatibilityAlias(SourceLocation AtLoc, in ActOnCompatibilityAlias()
1095 bool Sema::CheckForwardProtocolDeclarationForCircularDependency( in CheckForwardProtocolDeclarationForCircularDependency()
1123 Sema::ActOnStartProtocolInterface(SourceLocation AtProtoInterfaceLoc, in ActOnStartProtocolInterface()
1207 Sema::FindProtocolDeclaration(bool WarnOnDeclarations, bool ForObjCContainer, in FindProtocolDeclaration()
1257 Sema::LookupNameKind LookupKind;
1260 Sema::LookupNameKind lookupKind) in ObjCTypeArgOrProtocolValidatorCCC()
1265 if (LookupKind != Sema::LookupOrdinaryName) { in ValidateCandidate()
1271 if (LookupKind != Sema::LookupObjCProtocolName) { in ValidateCandidate()
1305 void Sema::DiagnoseTypeArgsAndProtocols(IdentifierInfo *ProtocolId, in DiagnoseTypeArgsAndProtocols()
1315 void Sema::actOnObjCTypeArgsOrProtocolQualifiers( in actOnObjCTypeArgsOrProtocolQualifiers()
1658 void Sema::DiagnoseClassExtensionDupMethods(ObjCCategoryDecl *CAT, in DiagnoseClassExtensionDupMethods()
1682 Sema::DeclGroupPtrTy
1683 Sema::ActOnForwardProtocolDeclaration(SourceLocation AtProtocolLoc, in ActOnForwardProtocolDeclaration()
1711 Decl *Sema::
1804 Decl *Sema::ActOnStartCategoryImplementation( in ActOnStartCategoryImplementation()
1871 Decl *Sema::ActOnStartClassImplementation( in ActOnStartClassImplementation()
1999 Sema::DeclGroupPtrTy
2000 Sema::ActOnFinishObjCImplementation(Decl *ObjCImpDecl, ArrayRef<Decl *> Decls) { in ActOnFinishObjCImplementation()
2018 void Sema::CheckImplementationIvars(ObjCImplementationDecl *ImpDecl, in CheckImplementationIvars()
2112 static void WarnUndefinedMethod(Sema &S, SourceLocation ImpLoc, in WarnUndefinedMethod()
2135 const Sema::SemaDiagnosticBuilder &B = S.Diag(ImpLoc, DiagID); in WarnUndefinedMethod()
2225 static bool CheckMethodOverrideReturn(Sema &S, in CheckMethodOverrideReturn()
2309 static bool CheckMethodOverrideParam(Sema &S, in CheckMethodOverrideParam()
2394 static bool checkMethodFamilyMismatch(Sema &S, ObjCMethodDecl *impl, in checkMethodFamilyMismatch()
2464 void Sema::WarnConflictingTypedMethods(ObjCMethodDecl *ImpMethodDecl, in WarnConflictingTypedMethods()
2490 void Sema::CheckConflictingOverridingMethod(ObjCMethodDecl *Method, in CheckConflictingOverridingMethod()
2515 void Sema::WarnExactTypedMethods(ObjCMethodDecl *ImpMethodDecl, in WarnExactTypedMethods()
2589 static void CheckProtocolMethodDefs(Sema &S, in CheckProtocolMethodDefs()
2593 const Sema::SelectorSet &InsMap, in CheckProtocolMethodDefs()
2594 const Sema::SelectorSet &ClsMap, in CheckProtocolMethodDefs()
2721 void Sema::MatchAllMethodDeclarations(const SelectorSet &InsMap, in MatchAllMethodDeclarations()
2828 void Sema::CheckCategoryVsClassMethodMatches( in CheckCategoryVsClassMethodMatches()
2867 void Sema::ImplMethodsVsClassMethods(Scope *S, ObjCImplDecl* IMPDecl, in ImplMethodsVsClassMethods()
2946 Sema::DeclGroupPtrTy
2947 Sema::ActOnForwardClassDeclaration(SourceLocation AtClassLoc, in ActOnForwardClassDeclaration()
3043 Sema::MethodMatchStrategy strategy,
3046 static bool matchTypes(ASTContext &Context, Sema::MethodMatchStrategy strategy, in matchTypes()
3056 if (strategy == Sema::MMS_strict) return false; in matchTypes()
3104 Sema::MethodMatchStrategy strategy, in tryMatchRecordTypes()
3142 bool Sema::MatchTwoMethodDeclarations(const ObjCMethodDecl *left, in MatchTwoMethodDeclarations()
3198 void Sema::addMethodToGlobalList(ObjCMethodList *List, in addMethodToGlobalList()
3303 void Sema::ReadMethodPool(Selector Sel) { in ReadMethodPool()
3308 void Sema::updateOutOfDateSelector(Selector Sel) { in updateOutOfDateSelector()
3314 void Sema::AddMethodToGlobalPool(ObjCMethodDecl *Method, bool impl, in AddMethodToGlobalPool()
3388 bool Sema::CollectMultipleMethodsInGlobalPool( in CollectMultipleMethodsInGlobalPool()
3427 bool Sema::AreMultipleMethodsInGlobalPool( in AreMultipleMethodsInGlobalPool()
3452 ObjCMethodDecl *Sema::LookupMethodInGlobalPool(Selector Sel, SourceRange R, in LookupMethodInGlobalPool()
3472 void Sema::DiagnoseMultipleMethodInGlobalPool(SmallVectorImpl<ObjCMethodDecl*> &Methods, in DiagnoseMultipleMethodInGlobalPool()
3526 ObjCMethodDecl *Sema::LookupImplementedMethodInGlobalPool(Selector Sel) { in LookupImplementedMethodInGlobalPool()
3571 static bool HelperIsMethodInObjCType(Sema &S, Selector Sel, in HelperIsMethodInObjCType()
3582 Sema::SelectorsForTypoCorrection(Selector Sel, in SelectorsForTypoCorrection()
3644 void Sema::DiagnoseDuplicateIvars(ObjCInterfaceDecl *ID, in DiagnoseDuplicateIvars()
3661 static void DiagnoseWeakIvars(Sema &S, ObjCImplementationDecl *ID) { in DiagnoseWeakIvars()
3677 Sema::ObjCContainerKind Sema::getObjCContainerKind() const { in getObjCContainerKind()
3680 return Sema::OCK_Interface; in getObjCContainerKind()
3682 return Sema::OCK_Protocol; in getObjCContainerKind()
3685 return Sema::OCK_ClassExtension; in getObjCContainerKind()
3686 return Sema::OCK_Category; in getObjCContainerKind()
3688 return Sema::OCK_Implementation; in getObjCContainerKind()
3690 return Sema::OCK_CategoryImplementation; in getObjCContainerKind()
3693 return Sema::OCK_None; in getObjCContainerKind()
3698 Decl *Sema::ActOnAtEnd(Scope *S, SourceRange AtEnd, ArrayRef<Decl *> allMethods, in ActOnAtEnd()
3700 if (getObjCContainerKind() == Sema::OCK_None) in ActOnAtEnd()
3911 static Sema::ResultTypeCompatibilityKind
3912 CheckRelatedResultTypeCompatibility(Sema &S, ObjCMethodDecl *Method, in CheckRelatedResultTypeCompatibility()
3924 return Sema::RTC_Compatible; in CheckRelatedResultTypeCompatibility()
3931 return Sema::RTC_Compatible; in CheckRelatedResultTypeCompatibility()
3935 return Sema::RTC_Compatible; in CheckRelatedResultTypeCompatibility()
3940 return Sema::RTC_Unknown; in CheckRelatedResultTypeCompatibility()
3944 return Sema::RTC_Incompatible; in CheckRelatedResultTypeCompatibility()
3952 Sema &S;
3958 OverrideSearch(Sema &S, ObjCMethodDecl *method) : S(S), Method(method) { in OverrideSearch()
3963 Sema::GlobalMethodPool::iterator it = S.MethodPool.find(selector); in OverrideSearch()
4096 void Sema::CheckObjCMethodOverrides(ObjCMethodDecl *ObjCMethod, in CheckObjCMethodOverrides()
4154 if (RTC != Sema::RTC_Incompatible && overridden->hasRelatedResultType()) in CheckObjCMethodOverrides()
4197 static QualType mergeTypeNullabilityForRedecl(Sema &S, SourceLocation loc, in mergeTypeNullabilityForRedecl()
4237 static void mergeInterfaceMethodToImpl(Sema &S, in mergeInterfaceMethodToImpl()
4278 Decl *Sema::ActOnMethodDeclaration( in ActOnMethodDeclaration()
4463 if (!ARCError && RTC == Sema::RTC_Compatible && in ActOnMethodDeclaration()
4502 bool Sema::CheckObjCDeclScope(Decl *D) { in CheckObjCDeclScope()
4521 void Sema::ActOnDefs(Scope *S, Decl *TagD, SourceLocation DeclStart, in ActOnDefs()
4562 VarDecl *Sema::BuildObjCExceptionDecl(TypeSourceInfo *TInfo, QualType T, in BuildObjCExceptionDecl()
4603 Decl *Sema::ActOnObjCExceptionDecl(Scope *S, Declarator &D) { in ActOnObjCExceptionDecl()
4661 void Sema::CollectIvarsToConstructOrDestruct(ObjCInterfaceDecl *OI, in CollectIvarsToConstructOrDestruct()
4671 void Sema::DiagnoseUseOfUnimplementedSelectors() { in DiagnoseUseOfUnimplementedSelectors()
4695 Sema::GetIvarBackingPropertyAccessor(const ObjCMethodDecl *Method, in GetIvarBackingPropertyAccessor()
4725 Sema &S;
4731 UnusedBackingIvarChecker(Sema &S, const ObjCMethodDecl *Method, in UnusedBackingIvarChecker()
4756 void Sema::DiagnoseUnusedBackingIvarInAccessor(Scope *S, in DiagnoseUnusedBackingIvarInAccessor()