Lines Matching refs:Sema

42 bool Sema::checkInitMethod(ObjCMethodDecl *method,  in checkInitMethod()
115 Sema &S) { in diagnoseNoescape()
129 const ObjCProtocolDecl *PD, Sema &S) { in diagnoseNoescape()
136 void Sema::CheckObjCMethodOverride(ObjCMethodDecl *NewMethod, in CheckObjCMethodOverride()
225 bool Sema::CheckARCMethodDecl(ObjCMethodDecl *method) { in CheckARCMethodDecl()
282 static void DiagnoseObjCImplementedDeprecations(Sema &S, const NamedDecl *ND, in DiagnoseObjCImplementedDeprecations()
329 void Sema::AddAnyMethodToGlobalPool(Decl *D) { in AddAnyMethodToGlobalPool()
344 HasExplicitOwnershipAttr(Sema &S, ParmVarDecl *Param) { in HasExplicitOwnershipAttr()
362 void Sema::ActOnStartOfObjCMethodDef(Scope *FnBodyScope, Decl *D) { in ActOnStartOfObjCMethodDef()
520 static void diagnoseUseOfProtocols(Sema &TheSema, in diagnoseUseOfProtocols()
527 Sema::ContextRAII SavedContext(TheSema, CD); in diagnoseUseOfProtocols()
536 void Sema::
662 DeclResult Sema::actOnObjCTypeParam(Scope *S, in actOnObjCTypeParam()
766 ObjCTypeParamList *Sema::actOnObjCTypeParamList(Scope *S, in actOnObjCTypeParamList()
801 void Sema::popObjCTypeParamList(Scope *S, ObjCTypeParamList *typeParamList) { in popObjCTypeParamList()
824 static bool checkTypeParamListConsistency(Sema &S, in checkTypeParamListConsistency()
972 Decl *Sema::ActOnStartClassInterface( in ActOnStartClassInterface()
1102 void Sema::ActOnTypedefedProtocols(SmallVectorImpl<Decl *> &ProtocolRefs, in ActOnTypedefedProtocols()
1129 Decl *Sema::ActOnCompatibilityAlias(SourceLocation AtLoc, in ActOnCompatibilityAlias()
1177 bool Sema::CheckForwardProtocolDeclarationForCircularDependency( in CheckForwardProtocolDeclarationForCircularDependency()
1204 Decl *Sema::ActOnStartProtocolInterface( in ActOnStartProtocolInterface()
1290 Sema::FindProtocolDeclaration(bool WarnOnDeclarations, bool ForObjCContainer, in FindProtocolDeclaration()
1340 Sema::LookupNameKind LookupKind;
1343 Sema::LookupNameKind lookupKind) in ObjCTypeArgOrProtocolValidatorCCC()
1348 if (LookupKind != Sema::LookupOrdinaryName) { in ValidateCandidate()
1354 if (LookupKind != Sema::LookupObjCProtocolName) { in ValidateCandidate()
1388 void Sema::DiagnoseTypeArgsAndProtocols(IdentifierInfo *ProtocolId, in DiagnoseTypeArgsAndProtocols()
1398 void Sema::actOnObjCTypeArgsOrProtocolQualifiers( in actOnObjCTypeArgsOrProtocolQualifiers()
1739 void Sema::DiagnoseClassExtensionDupMethods(ObjCCategoryDecl *CAT, in DiagnoseClassExtensionDupMethods()
1763 Sema::DeclGroupPtrTy
1764 Sema::ActOnForwardProtocolDeclaration(SourceLocation AtProtocolLoc, in ActOnForwardProtocolDeclaration()
1792 Decl *Sema::ActOnStartCategoryInterface( in ActOnStartCategoryInterface()
1888 Decl *Sema::ActOnStartCategoryImplementation( in ActOnStartCategoryImplementation()
1950 Decl *Sema::ActOnStartClassImplementation( in ActOnStartClassImplementation()
2077 Sema::DeclGroupPtrTy
2078 Sema::ActOnFinishObjCImplementation(Decl *ObjCImpDecl, ArrayRef<Decl *> Decls) { in ActOnFinishObjCImplementation()
2096 void Sema::CheckImplementationIvars(ObjCImplementationDecl *ImpDecl, in CheckImplementationIvars()
2191 static void WarnUndefinedMethod(Sema &S, SourceLocation ImpLoc, in WarnUndefinedMethod()
2206 const Sema::SemaDiagnosticBuilder &B = S.Diag(ImpLoc, DiagID); in WarnUndefinedMethod()
2296 static bool CheckMethodOverrideReturn(Sema &S, in CheckMethodOverrideReturn()
2380 static bool CheckMethodOverrideParam(Sema &S, in CheckMethodOverrideParam()
2465 static bool checkMethodFamilyMismatch(Sema &S, ObjCMethodDecl *impl, in checkMethodFamilyMismatch()
2535 void Sema::WarnConflictingTypedMethods(ObjCMethodDecl *ImpMethodDecl, in WarnConflictingTypedMethods()
2561 void Sema::CheckConflictingOverridingMethod(ObjCMethodDecl *Method, in CheckConflictingOverridingMethod()
2586 void Sema::WarnExactTypedMethods(ObjCMethodDecl *ImpMethodDecl, in WarnExactTypedMethods()
2660 static void CheckProtocolMethodDefs(Sema &S, in CheckProtocolMethodDefs()
2664 const Sema::SelectorSet &InsMap, in CheckProtocolMethodDefs()
2665 const Sema::SelectorSet &ClsMap, in CheckProtocolMethodDefs()
2792 void Sema::MatchAllMethodDeclarations(const SelectorSet &InsMap, in MatchAllMethodDeclarations()
2899 void Sema::CheckCategoryVsClassMethodMatches( in CheckCategoryVsClassMethodMatches()
2938 void Sema::ImplMethodsVsClassMethods(Scope *S, ObjCImplDecl* IMPDecl, in ImplMethodsVsClassMethods()
3017 Sema::DeclGroupPtrTy
3018 Sema::ActOnForwardClassDeclaration(SourceLocation AtClassLoc, in ActOnForwardClassDeclaration()
3114 Sema::MethodMatchStrategy strategy,
3117 static bool matchTypes(ASTContext &Context, Sema::MethodMatchStrategy strategy, in matchTypes()
3127 if (strategy == Sema::MMS_strict) return false; in matchTypes()
3175 Sema::MethodMatchStrategy strategy, in tryMatchRecordTypes()
3213 bool Sema::MatchTwoMethodDeclarations(const ObjCMethodDecl *left, in MatchTwoMethodDeclarations()
3269 void Sema::addMethodToGlobalList(ObjCMethodList *List, in addMethodToGlobalList()
3374 void Sema::ReadMethodPool(Selector Sel) { in ReadMethodPool()
3379 void Sema::updateOutOfDateSelector(Selector Sel) { in updateOutOfDateSelector()
3385 void Sema::AddMethodToGlobalPool(ObjCMethodDecl *Method, bool impl, in AddMethodToGlobalPool()
3459 bool Sema::CollectMultipleMethodsInGlobalPool( in CollectMultipleMethodsInGlobalPool()
3498 bool Sema::AreMultipleMethodsInGlobalPool( in AreMultipleMethodsInGlobalPool()
3523 ObjCMethodDecl *Sema::LookupMethodInGlobalPool(Selector Sel, SourceRange R, in LookupMethodInGlobalPool()
3543 void Sema::DiagnoseMultipleMethodInGlobalPool(SmallVectorImpl<ObjCMethodDecl*> &Methods, in DiagnoseMultipleMethodInGlobalPool()
3597 ObjCMethodDecl *Sema::LookupImplementedMethodInGlobalPool(Selector Sel) { in LookupImplementedMethodInGlobalPool()
3642 static bool HelperIsMethodInObjCType(Sema &S, Selector Sel, in HelperIsMethodInObjCType()
3653 Sema::SelectorsForTypoCorrection(Selector Sel, in SelectorsForTypoCorrection()
3715 void Sema::DiagnoseDuplicateIvars(ObjCInterfaceDecl *ID, in DiagnoseDuplicateIvars()
3732 static void DiagnoseWeakIvars(Sema &S, ObjCImplementationDecl *ID) { in DiagnoseWeakIvars()
3749 static void DiagnoseRetainableFlexibleArrayMember(Sema &S, in DiagnoseRetainableFlexibleArrayMember()
3768 Sema::ObjCContainerKind Sema::getObjCContainerKind() const { in getObjCContainerKind()
3771 return Sema::OCK_Interface; in getObjCContainerKind()
3773 return Sema::OCK_Protocol; in getObjCContainerKind()
3776 return Sema::OCK_ClassExtension; in getObjCContainerKind()
3777 return Sema::OCK_Category; in getObjCContainerKind()
3779 return Sema::OCK_Implementation; in getObjCContainerKind()
3781 return Sema::OCK_CategoryImplementation; in getObjCContainerKind()
3784 return Sema::OCK_None; in getObjCContainerKind()
3795 static void DiagnoseVariableSizedIvars(Sema &S, ObjCContainerDecl *OCD) { in DiagnoseVariableSizedIvars()
3879 Decl *Sema::ActOnAtEnd(Scope *S, SourceRange AtEnd, ArrayRef<Decl *> allMethods, in ActOnAtEnd()
3881 if (getObjCContainerKind() == Sema::OCK_None) in ActOnAtEnd()
4114 static Sema::ResultTypeCompatibilityKind
4115 CheckRelatedResultTypeCompatibility(Sema &S, ObjCMethodDecl *Method, in CheckRelatedResultTypeCompatibility()
4127 return Sema::RTC_Compatible; in CheckRelatedResultTypeCompatibility()
4134 return Sema::RTC_Compatible; in CheckRelatedResultTypeCompatibility()
4138 return Sema::RTC_Compatible; in CheckRelatedResultTypeCompatibility()
4143 return Sema::RTC_Unknown; in CheckRelatedResultTypeCompatibility()
4147 return Sema::RTC_Incompatible; in CheckRelatedResultTypeCompatibility()
4155 Sema &S;
4161 OverrideSearch(Sema &S, ObjCMethodDecl *method) : S(S), Method(method) { in OverrideSearch()
4166 Sema::GlobalMethodPool::iterator it = S.MethodPool.find(selector); in OverrideSearch()
4299 void Sema::CheckObjCMethodOverrides(ObjCMethodDecl *ObjCMethod, in CheckObjCMethodOverrides()
4357 if (RTC != Sema::RTC_Incompatible && overridden->hasRelatedResultType()) in CheckObjCMethodOverrides()
4400 static QualType mergeTypeNullabilityForRedecl(Sema &S, SourceLocation loc, in mergeTypeNullabilityForRedecl()
4440 static void mergeInterfaceMethodToImpl(Sema &S, in mergeInterfaceMethodToImpl()
4483 static void checkObjCMethodX86VectorTypes(Sema &SemaRef, in checkObjCMethodX86VectorTypes()
4524 Decl *Sema::ActOnMethodDeclaration( in ActOnMethodDeclaration()
4722 if (!ARCError && RTC == Sema::RTC_Compatible && in ActOnMethodDeclaration()
4776 bool Sema::CheckObjCDeclScope(Decl *D) { in CheckObjCDeclScope()
4795 void Sema::ActOnDefs(Scope *S, Decl *TagD, SourceLocation DeclStart, in ActOnDefs()
4836 VarDecl *Sema::BuildObjCExceptionDecl(TypeSourceInfo *TInfo, QualType T, in BuildObjCExceptionDecl()
4882 Decl *Sema::ActOnObjCExceptionDecl(Scope *S, Declarator &D) { in ActOnObjCExceptionDecl()
4940 void Sema::CollectIvarsToConstructOrDestruct(ObjCInterfaceDecl *OI, in CollectIvarsToConstructOrDestruct()
4950 void Sema::DiagnoseUseOfUnimplementedSelectors() { in DiagnoseUseOfUnimplementedSelectors()
4974 Sema::GetIvarBackingPropertyAccessor(const ObjCMethodDecl *Method, in GetIvarBackingPropertyAccessor()
5004 Sema &S;
5010 UnusedBackingIvarChecker(Sema &S, const ObjCMethodDecl *Method, in UnusedBackingIvarChecker()
5035 void Sema::DiagnoseUnusedBackingIvarInAccessor(Scope *S, in DiagnoseUnusedBackingIvarInAccessor()