Home
last modified time | relevance | path

Searched defs:PDecl (Results 1 – 18 of 18) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DSmartPtrArrayMismatchCheck.cpp30 if (const auto *PDecl = PNode.get<DeclStmt>()) in isInSingleDeclStmt() local
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaObjCProperty.cpp512 ObjCPropertyDecl *PDecl = CreatePropertyDecl(S, CDecl, AtLoc, LParenLoc, in HandlePropertyInClassExtension() local
615 ObjCPropertyDecl *PDecl = ObjCPropertyDecl::Create(Context, DC, in CreatePropertyDecl() local
846 if (const ObjCProtocolDecl *PDecl = PI->getDefinition()) in SelectPropertyForSynthesisFromProtocols() local
853 if (const ObjCProtocolDecl *PDecl = PI->getDefinition()) in SelectPropertyForSynthesisFromProtocols() local
1794 else if (ObjCProtocolDecl *PDecl = dyn_cast<ObjCProtocolDecl>(CDecl)) { in CollectImmediateProperties() local
2066 for (auto *PDecl : IDecl->all_referenced_protocols()) { in DiagnoseUnimplementedProperties() local
2639 void Sema::CheckObjCPropertyAttributes(Decl *PDecl, in CheckObjCPropertyAttributes()
H A DSemaDeclObjC.cpp1193 if (ObjCProtocolDecl *PDecl = LookupProtocol((*I)->getIdentifier(), in CheckForwardProtocolDeclarationForCircularDependency() local
1222 ObjCProtocolDecl *PDecl = nullptr; in ActOnStartProtocolInterface() local
1280 static bool NestedProtocolHasNoDefinition(ObjCProtocolDecl *PDecl, in NestedProtocolHasNoDefinition()
1304 ObjCProtocolDecl *PDecl = LookupProtocol(Pair.first, Pair.second); in FindProtocolDeclaration() local
1784 ObjCProtocolDecl *PDecl in ActOnForwardProtocolDeclaration() local
2671 static void findProtocolsWithExplicitImpls(const ObjCProtocolDecl *PDecl, in findProtocolsWithExplicitImpls()
2696 Sema &S, ObjCImplDecl *Impl, ObjCProtocolDecl *PDecl, bool &IncompleteImpl, in CheckProtocolMethodDefs()
3934 Sema &S, ObjCProtocolDecl *PDecl, ObjCCategoryDecl *CDecl) { in DiagnoseCategoryDirectMembersProtocolConformance()
5338 const ObjCPropertyDecl *PDecl; in DiagnoseUnusedBackingIvarInAccessor() local
H A DSemaExprObjC.cpp1392 ObjCProtocolDecl* PDecl = LookupProtocol(ProtocolId, ProtoIdLoc); in ParseObjCProtocolExpression() local
2079 if (const ObjCPropertyDecl *PDecl = Setter->findPropertyDecl()) { in HandleExprPropertyRefExpr() local
4191 if (ObjCPropertyDecl *PDecl = PRE->getExplicitProperty()) in CheckObjCBridgeRelatedCast() local
4357 if (const ObjCPropertyDecl *PDecl = in CheckObjCBridgeRelatedConversions() local
H A DSemaExprMember.cpp430 static Decl *FindGetterSetterNameDeclFromProtocolList(const ObjCProtocolDecl*PDecl, in FindGetterSetterNameDeclFromProtocolList()
H A DSemaCodeComplete.cpp3658 const ObjCPropertyDecl *PDecl = M->findPropertyDecl(); in getCompletionComment() local
3675 const ObjCPropertyDecl *PDecl = M->findPropertyDecl(); in getPatternCompletionComment() local
H A DSemaDeclAttr.cpp5899 if (const auto *PDecl = dyn_cast_or_null<ObjCProtocolDecl>(DC)) { in handleObjCRequiresSuperAttr() local
7958 if (const auto *PDecl = dyn_cast<ParmVarDecl>(D)) { in handleOpenCLAccessAttr() local
H A DSemaExpr.cpp16880 const ObjCProtocolDecl *PDecl = nullptr; in DiagnoseAssignmentResult() local
/llvm-project-15.0.7/clang/lib/ARCMigrate/
H A DTransZeroOutPropsInDealloc.cpp203 if (ObjCPropertyDecl *PDecl = PropRefExp->getExplicitProperty()) { in isZeroingPropIvar() local
H A DObjCMT.cpp609 if (const ObjCProtocolDecl *PDecl = Protocol->getDefinition()) in ClassImplementsAllMethodsAndProperties() local
636 if (const ObjCProtocolDecl *PDecl = Protocol->getDefinition()) { in ClassImplementsAllMethodsAndProperties() local
868 ObjCProtocolDecl *PDecl = ConformingProtocols[i1]; in migrateProtocolConformance() local
1860 else if (ObjCProtocolDecl *PDecl = dyn_cast<ObjCProtocolDecl>(*D)) { in HandleTranslationUnit() local
/llvm-project-15.0.7/clang/lib/Analysis/
H A DBodyFarm.cpp438 const ParmVarDecl *PDecl = D->getParamDecl(ParamIdx); in create_call_once() local
/llvm-project-15.0.7/clang/lib/AST/
H A DDeclObjC.cpp1954 ObjCProtocolDecl *PDecl = this; in lookupProtocolNamed() local
2003 if (const ObjCProtocolDecl *PDecl = getDefinition()) { in collectPropertiesToImplement() local
2020 if (const ObjCProtocolDecl *PDecl = getDefinition()) { in collectInheritedProtocolProperties() local
H A DDeclPrinter.cpp1487 void DeclPrinter::VisitObjCPropertyDecl(ObjCPropertyDecl *PDecl) { in VisitObjCPropertyDecl()
H A DASTContext.cpp585 if (const ObjCPropertyDecl *PDecl = OMD->findPropertyDecl()) in getCommentForDecl() local
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountDiagnostics.cpp862 const Decl *PDecl = Region->getDecl(); in deriveParamLocation() local
/llvm-project-15.0.7/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp1155 void RewriteModernObjC::RewriteProtocolDecl(ObjCProtocolDecl *PDecl) { in RewriteProtocolDecl()
1292 for (const auto *PDecl : OMD->parameters()) { in RewriteObjCMethodDecl() local
5811 ObjCProtocolDecl *PDecl, in Write_ProtocolExprReferencedMetadata()
6839 void RewriteModernObjC::RewriteObjCProtocolMetaData(ObjCProtocolDecl *PDecl, in RewriteObjCProtocolMetaData()
H A DRewriteObjC.cpp988 void RewriteObjC::RewriteProtocolDecl(ObjCProtocolDecl *PDecl) { in RewriteProtocolDecl()
1125 for (const auto *PDecl : OMD->parameters()) { in RewriteObjCMethodDecl() local
5076 ObjCProtocolDecl *PDecl, StringRef prefix, in RewriteObjCProtocolMetaData()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCodeGenModule.cpp1767 const Decl *PDecl = parm; in GenKernelArgMetadata() local