Home
last modified time | relevance | path

Searched defs:IDecl (Results 1 – 23 of 23) sorted by relevance

/llvm-project/clang/unittests/Analysis/FlowSensitive/
H A DASTOpsTest.cpp82 auto *IDecl = cast<FieldDecl>(findValueDecl(ASTCtx, "I")); TEST() local
H A DRecordOpsTest.cpp228 const ValueDecl *IDecl = findValueDecl(ASTCtx, "i"); in TEST() local
251 const ValueDecl *IDecl = findValueDecl(ASTCtx, "i"); in TEST() local
H A DTypeErasedDataflowAnalysisTest.cpp195 const auto &IDecl = matchNode<DeclStmt>(declStmt(has(varDecl(hasName("i"))))); TEST_F() local
H A DTransferTest.cpp3809 const ValueDecl *IDecl = findValueDecl(ASTCtx, "I"); TEST() local
3835 const ValueDecl *IDecl = findValueDecl(ASTCtx, "I"); TEST() local
7255 const ValueDecl *IDecl = findValueDecl(ASTCtx, "i"); TEST() local
/llvm-project/clang/lib/Sema/
H A DSemaDeclObjC.cpp519 : CurrentIDecl(IDecl) {} in ObjCInterfaceValidatorCCC() argument
598 SuperClassDecl = dyn_cast<ObjCInterfaceDecl>(IDecl); in ActOnSuperClassOfClassInterface() local
554 ActOnSuperClassOfClassInterface(Scope * S,SourceLocation AtInterfaceLoc,ObjCInterfaceDecl * IDecl,IdentifierInfo * ClassName,SourceLocation ClassLoc,IdentifierInfo * SuperName,SourceLocation SuperLoc,ArrayRef<ParsedType> SuperTypeArgs,SourceRange SuperTypeArgsRange) ActOnSuperClassOfClassInterface() argument
1050 ObjCInterfaceDecl *IDecl = ActOnStartClassInterface() local
1121 NamedDecl *IDecl = SemaRef.LookupSingleName( ActOnTypedefedProtocols() local
1165 if (NamedDecl *IDecl = T->castAs<ObjCObjectType>()->getInterface()) { ActOnCompatibilityAlias() local
1823 ObjCInterfaceDecl *IDecl = getObjCInterfaceDecl(ClassName, ClassLoc, true); ActOnStartCategoryInterface() local
1918 ObjCInterfaceDecl *IDecl = getObjCInterfaceDecl(ClassName, ClassLoc, true); ActOnStartCategoryImplementation() local
1986 ObjCInterfaceDecl *IDecl = nullptr; ActOnStartClassImplementation() local
2141 ObjCInterfaceDecl* IDecl = ImpDecl->getClassInterface(); CheckImplementationIvars() local
2715 ObjCInterfaceDecl *IDecl = C ? C->getClassInterface() CheckProtocolMethodDefs() local
2949 ObjCInterfaceDecl *IDecl = CatDecl->getClassInterface(); CheckCategoryVsClassMethodMatches() local
3008 if (const ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(CDecl)) { ImplMethodsVsClassMethods() local
3141 ObjCInterfaceDecl *IDecl = ObjCInterfaceDecl::Create( ActOnForwardClassDeclaration() local
3949 const auto *IDecl = CDecl->getClassInterface(); DiagnoseCategoryDirectMembersProtocolConformance() local
4099 if (ObjCInterfaceDecl* IDecl = IC->getClassInterface()) { ActOnAtEnd() local
4191 if (ObjCInterfaceDecl* IDecl = CatImplClass->getClassInterface()) { ActOnAtEnd() local
4680 checkObjCDirectMethodClashes(Sema & S,ObjCInterfaceDecl * IDecl,ObjCMethodDecl * Method,ObjCImplDecl * ImpDecl=nullptr) checkObjCDirectMethodClashes() argument
4903 if (ObjCInterfaceDecl *IDecl = ImpDecl->getClassInterface()) { ActOnMethodDeclaration() local
4990 ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(ClassDecl); ActOnMethodDeclaration() local
5300 const ObjCInterfaceDecl *IDecl = Method->getClassInterface(); GetIvarBackingPropertyAccessor() local
5429 NamedDecl *IDecl = SemaRef.LookupSingleName(SemaRef.TUScope, Id, IdLoc, getObjCInterfaceDecl() local
[all...]
H A DSemaObjCProperty.cpp580 ObjCInterfaceDecl *IDecl = ObjPtrTy->getObjectType()->getInterface(); CreatePropertyDecl() local
1080 ObjCInterfaceDecl *IDecl = nullptr; ActOnPropertyImplDecl() local
1739 if (ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(CDecl)) { CollectImmediateProperties() local
1843 SuperClassImplementsProperty(ObjCInterfaceDecl * IDecl,ObjCPropertyDecl * Prop) SuperClassImplementsProperty() argument
1867 DefaultSynthesizeProperties(Scope * S,ObjCImplDecl * IMPDecl,ObjCInterfaceDecl * IDecl,SourceLocation AtEnd) DefaultSynthesizeProperties() argument
1969 if (ObjCInterfaceDecl* IDecl = IC->getClassInterface()) DefaultSynthesizeProperties() local
2015 ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(CDecl); DiagnoseUnimplementedProperties() local
2145 AtomicPropertySetterGetterRules(ObjCImplDecl * IMPDecl,ObjCInterfaceDecl * IDecl) AtomicPropertySetterGetterRules() argument
[all...]
H A DSemaAvailability.cpp111 if (const auto *IDecl = dyn_cast<ObjCInterfaceDecl>(D)) { ShouldDiagnoseAvailabilityOfDecl() local
H A DSemaExprMember.cpp1383 ObjCInterfaceDecl *IDecl = OTy->getInterface(); LookupMemberExpr() local
[all...]
H A DSemaObjC.cpp1275 ActOnObjCContainerStartDefinition(ObjCContainerDecl * IDecl) ActOnObjCContainerStartDefinition() argument
H A DSemaDecl.cpp524 } else if (ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(IIDecl)) { getTypeName() local
19253 ObjCInterfaceDecl *IDecl = CDecl->getClassInterface(); ActOnFields() local
H A DSemaCodeComplete.cpp9657 Decl *IDecl = nullptr; CodeCompleteObjCMethodDecl() local
H A DSemaExpr.cpp595 if (ObjCInterfaceDecl *IDecl = OTy->getInterface()) { DiagnoseDirectIsaAccess() local
/llvm-project/clang/lib/ARCMigrate/
H A DObjCMT.cpp434 ObjCInterfaceDecl *IDecl = ObjPtrTy->getObjectType()->getInterface(); PropertyMemoryAttribute() local
600 ClassImplementsAllMethodsAndProperties(ASTContext & Ctx,const ObjCImplementationDecl * ImpDecl,const ObjCInterfaceDecl * IDecl,ObjCProtocolDecl * Protocol) ClassImplementsAllMethodsAndProperties() argument
659 rewriteToObjCInterfaceDecl(const ObjCInterfaceDecl * IDecl,llvm::SmallVectorImpl<ObjCProtocolDecl * > & ConformingProtocols,const NSAPI & NS,edit::Commit & commit) rewriteToObjCInterfaceDecl() argument
830 const ObjCInterfaceDecl *IDecl = ImpDecl->getClassInterface(); migrateProtocolConformance() local
977 ObjCInterfaceDecl *IDecl = OM->getClassInterface(); ReplaceWithClasstype() local
1028 ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(CDecl); migrateMethodInstanceType() local
1299 ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(CDecl); migrateFactoryMethod() local
[all...]
H A DTransAutoreleasePool.cpp389 bool isNSAutoreleasePool(ObjCInterfaceDecl *IDecl) { in isNSAutoreleasePool()
/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp1349 if (ObjCInterfaceDecl *IDecl in getRuntimeDefinition() local
1131 canBeOverridenInSubclass(ObjCInterfaceDecl * IDecl,Selector Sel) const canBeOverridenInSubclass() argument
1339 if (ObjCInterfaceDecl *IDecl = ReceiverT->getInterface()) getRuntimeDefinition() local
1365 if (ObjCInterfaceDecl *IDecl = E->getReceiverInterface()) { getRuntimeDefinition() local
[all...]
/llvm-project/clang/lib/Analysis/
H A DCallGraph.cpp115 if (ObjCInterfaceDecl *IDecl = ME->getReceiverInterface()) { in VisitObjCMessageExpr() local
/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp831 WriteInternalIvarName(const ObjCInterfaceDecl * IDecl,ObjCIvarDecl * IvarDecl,std::string & Result) WriteInternalIvarName() argument
1229 RewriteObjCMethodDecl(const ObjCInterfaceDecl * IDecl,ObjCMethodDecl * OMD,std::string & ResultStr) RewriteObjCMethodDecl() argument
1970 ObjCInterfaceDecl *IDecl = Ptr->getObjectType()->getInterface(); RewriteObjCTryStmt() local
3601 IsTagDefinedInsideClass(ObjCContainerDecl * IDecl,TagDecl * Tag,bool & IsNamedDefinition) IsTagDefinedInsideClass() argument
3731 auto *IDecl = dyn_cast<ObjCContainerDecl>(fieldDecl->getDeclContext()); RewriteLocallyDefinedNamedAggregates() local
3962 const ObjCInterfaceDecl *IDecl = IvarDecl->getContainingInterface(); RewriteIvarOffsetSymbols() local
6998 RewriteObjCClassMetaData(ObjCImplementationDecl * IDecl,std::string & Result) RewriteObjCClassMetaData() argument
7163 ObjCImplementationDecl *IDecl = ClassImplementation[i]; RewriteClassSetupInitHook() local
7260 RewriteObjCCategoryImplDecl(ObjCCategoryImplDecl * IDecl,std::string & Result) RewriteObjCCategoryImplDecl() argument
7345 ObjCCategoryImplDecl *IDecl = CategoryImplementation[i]; RewriteCategorySetupInitHook() local
[all...]
H A DRewriteObjC.cpp1063 RewriteObjCMethodDecl(const ObjCInterfaceDecl * IDecl,ObjCMethodDecl * OMD,std::string & ResultStr) RewriteObjCMethodDecl() argument
1866 ObjCInterfaceDecl *IDecl = Ptr->getObjectType()->getInterface(); RewriteObjCTryStmt() local
5264 RewriteObjCClassMetaData(ObjCImplementationDecl * IDecl,std::string & Result) RewriteObjCClassMetaData() argument
5616 RewriteObjCCategoryImplDecl(ObjCCategoryImplDecl * IDecl,std::string & Result) RewriteObjCCategoryImplDecl() argument
[all...]
/llvm-project/clang/lib/AST/
H A DDeclObjC.cpp1794 for (auto *PI : IDecl->protocols()){ in ClassImplementsProtocol() local
192 if (auto *IDecl = dyn_cast<ObjCInterfaceDecl>(DC)) { findPropertyDecl() local
2120 ObjCCategoryDecl(DeclContext * DC,SourceLocation AtLoc,SourceLocation ClassNameLoc,SourceLocation CategoryNameLoc,const IdentifierInfo * Id,ObjCInterfaceDecl * IDecl,ObjCTypeParamList * typeParamList,SourceLocation IvarLBraceLoc,SourceLocation IvarRBraceLoc) ObjCCategoryDecl() argument
2131 Create(ASTContext & C,DeclContext * DC,SourceLocation AtLoc,SourceLocation ClassNameLoc,SourceLocation CategoryNameLoc,const IdentifierInfo * Id,ObjCInterfaceDecl * IDecl,ObjCTypeParamList * typeParamList,SourceLocation IvarLBraceLoc,SourceLocation IvarRBraceLoc) Create() argument
[all...]
H A DASTContext.cpp2622 auto *IDecl = const_cast<ObjCInterfaceDecl *>(OI); DeepCollectObjCIvars() local
5624 QIdProtocolsAdoptObjCObjectProtocols(QualType QT,ObjCInterfaceDecl * IDecl) QIdProtocolsAdoptObjCObjectProtocols() argument
/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DIvarInvalidationChecker.cpp367 ObjCInterfaceDecl *IDecl = const_cast<ObjCInterfaceDecl *>(InterfaceD); in visit() local
/llvm-project/clang/lib/CodeGen/
H A DCGObjCGNU.cpp2516 const ObjCInterfaceDecl *IDecl = OPT->getObjectType()->getInterface(); GetEHType() local
H A DCGObjCMac.cpp4768 llvm::Value *Class = EmitClassRef(CGF, IDecl); in EmitTryOrSynchronizedStmt() local