Home | History | Annotate | Download | only in Sema

Lines Matching full:sema

14 #include "clang/Sema/SemaInternal.h"
23 #include "clang/Sema/DeclSpec.h"
24 #include "clang/Sema/ExternalSemaSource.h"
25 #include "clang/Sema/Lookup.h"
26 #include "clang/Sema/Scope.h"
27 #include "clang/Sema/ScopeInfo.h"
41 bool Sema::checkInitMethod(ObjCMethodDecl *method,
112 void Sema::CheckObjCMethodOverride(ObjCMethodDecl *NewMethod,
197 bool Sema::CheckARCMethodDecl(ObjCMethodDecl *method) {
256 static void DiagnoseObjCImplementedDeprecations(Sema &S,
272 void Sema::AddAnyMethodToGlobalPool(Decl *D) {
287 HasExplicitOwnershipAttr(Sema &S, ParmVarDecl *Param) {
305 void Sema::ActOnStartOfObjCMethodDef(Scope *FnBodyScope, Decl *D) {
313 // Allow all of Sema to see that we are entering a method definition.
455 Decl *Sema::
609 void Sema::ActOnTypedefedProtocols(SmallVectorImpl<Decl *> &ProtocolRefs,
630 Decl *Sema::ActOnCompatibilityAlias(SourceLocation AtLoc,
675 bool Sema::CheckForwardProtocolDeclarationForCircularDependency(
703 Sema::ActOnStartProtocolInterface(SourceLocation AtProtoInterfaceLoc,
785 Sema::FindProtocolDeclaration(bool WarnOnDeclarations,
833 void Sema::DiagnoseClassExtensionDupMethods(ObjCCategoryDecl *CAT,
857 Sema::DeclGroupPtrTy
858 Sema::ActOnForwardProtocolDeclaration(SourceLocation AtProtocolLoc,
887 Decl *Sema::
956 Decl *Sema::ActOnStartCategoryImplementation(
1015 Decl *Sema::ActOnStartClassImplementation(
1131 Sema::DeclGroupPtrTy
1132 Sema::ActOnFinishObjCImplementation(Decl *ObjCImpDecl, ArrayRef<Decl *> Decls) {
1150 void Sema::CheckImplementationIvars(ObjCImplementationDecl *ImpDecl,
1244 static void WarnUndefinedMethod(Sema &S, SourceLocation ImpLoc,
1267 const Sema::SemaDiagnosticBuilder &B = S.Diag(ImpLoc, DiagID);
1350 static bool CheckMethodOverrideReturn(Sema &S,
1413 static bool CheckMethodOverrideParam(Sema &S,
1484 static bool checkMethodFamilyMismatch(Sema &S, ObjCMethodDecl *impl,
1553 void Sema::WarnConflictingTypedMethods(ObjCMethodDecl *ImpMethodDecl,
1579 void Sema::CheckConflictingOverridingMethod(ObjCMethodDecl *Method,
1604 void Sema::WarnExactTypedMethods(ObjCMethodDecl *ImpMethodDecl,
1678 static void CheckProtocolMethodDefs(Sema &S,
1682 const Sema::SelectorSet &InsMap,
1683 const Sema::SelectorSet &ClsMap,
1810 void Sema::MatchAllMethodDeclarations(const SelectorSet &InsMap,
1913 void Sema::CheckCategoryVsClassMethodMatches(
1952 void Sema::ImplMethodsVsClassMethods(Scope *S, ObjCImplDecl* IMPDecl,
2018 Sema::DeclGroupPtrTy
2019 Sema::ActOnForwardClassDeclaration(SourceLocation AtClassLoc,
2089 Sema::MethodMatchStrategy strategy,
2092 static bool matchTypes(ASTContext &Context, Sema::MethodMatchStrategy strategy,
2102 if (strategy == Sema::MMS_strict) return false;
2145 Sema::MethodMatchStrategy strategy,
2177 bool Sema::MatchTwoMethodDeclarations(const ObjCMethodDecl *left,
2213 void Sema::addMethodToGlobalList(ObjCMethodList *List, ObjCMethodDecl *Method) {
2269 void Sema::ReadMethodPool(Selector Sel) {
2274 void Sema::AddMethodToGlobalPool(ObjCMethodDecl *Method, bool impl,
2313 ObjCMethodDecl *Sema::LookupMethodInGlobalPool(Selector Sel, SourceRange R,
2396 ObjCMethodDecl *Sema::LookupImplementedMethodInGlobalPool(Selector Sel) {
2437 static bool HelperIsMethodInObjCType(Sema &S, Selector Sel,
2448 Sema::SelectorsForTypoCorrection(Selector Sel,
2508 void Sema::DiagnoseDuplicateIvars(ObjCInterfaceDecl *ID,
2524 Sema::ObjCContainerKind Sema::getObjCContainerKind() const {
2527 return Sema::OCK_Interface;
2529 return Sema::OCK_Protocol;
2532 return Sema::OCK_ClassExtension;
2534 return Sema::OCK_Category;
2536 return Sema::OCK_Implementation;
2538 return Sema::OCK_CategoryImplementation;
2541 return Sema::OCK_None;
2546 Decl *Sema::ActOnAtEnd(Scope *S, SourceRange AtEnd, ArrayRef<Decl *> allMethods,
2548 if (getObjCContainerKind() == Sema::OCK_None)
2758 static Sema::ResultTypeCompatibilityKind
2759 CheckRelatedResultTypeCompatibility(Sema &S, ObjCMethodDecl *Method,
2771 return Sema::RTC_Compatible;
2778 return Sema::RTC_Compatible;
2782 return Sema::RTC_Compatible;
2787 return Sema::RTC_Unknown;
2791 return Sema::RTC_Incompatible;
2799 Sema &S;
2805 OverrideSearch(Sema &S, ObjCMethodDecl *method) : S(S), Method(method) {
2810 Sema::GlobalMethodPool::iterator it = S.MethodPool.find(selector);
2944 void Sema::CheckObjCMethodOverrides(ObjCMethodDecl *ObjCMethod,
3002 if (RTC != Sema::RTC_Incompatible && overridden->hasRelatedResultType())
3043 Decl *Sema::ActOnMethodDeclaration(
3228 if (!ARCError && RTC == Sema::RTC_Compatible &&
3265 bool Sema::CheckObjCDeclScope(Decl *D) {
3284 void Sema::ActOnDefs(Scope *S, Decl *TagD, SourceLocation DeclStart,
3325 VarDecl *Sema::BuildObjCExceptionDecl(TypeSourceInfo *TInfo, QualType T,
3366 Decl *Sema::ActOnObjCExceptionDecl(Scope *S, Declarator &D) {
3421 void Sema::CollectIvarsToConstructOrDestruct(ObjCInterfaceDecl *OI,
3431 void Sema::DiagnoseUseOfUnimplementedSelectors() {
3457 Sema::GetIvarBackingPropertyAccessor(const ObjCMethodDecl *Method,
3482 /// Used by Sema::DiagnoseUnusedBackingIvarInAccessor to check if a property
3487 Sema &S;
3493 UnusedBackingIvarChecker(Sema &S, const ObjCMethodDecl *Method,
3518 void Sema::DiagnoseUnusedBackingIvarInAccessor(Scope *S,