| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaObjCProperty.cpp | 529 ProcessPropertyDecl(PDecl); in HandlePropertyInClassExtension() 530 return PDecl; in HandlePropertyInClassExtension() 561 ProcessPropertyDecl(PDecl); in HandlePropertyInClassExtension() 562 return PDecl; in HandlePropertyInClassExtension() 634 PDecl->setInvalidDecl(); in CreatePropertyDecl() 637 DC->addDecl(PDecl); in CreatePropertyDecl() 644 PDecl->setInvalidDecl(); in CreatePropertyDecl() 647 ProcessDeclAttributes(S, PDecl, FD.D); in CreatePropertyDecl() 653 PDecl->setPropertyAttributesAsWritten( in CreatePropertyDecl() 712 return PDecl; in CreatePropertyDecl() [all …]
|
| H A D | SemaDeclObjC.cpp | 1197 PDecl->getLocation(), PDecl->getReferencedProtocols())) in CheckForwardProtocolDeclarationForCircularDependency() 1232 PDecl->startDefinition(); in ActOnStartProtocolInterface() 1249 PDecl->startDefinition(); in ActOnStartProtocolInterface() 1267 CheckObjCDeclScope(PDecl); in ActOnStartProtocolInterface() 1273 if (!PDecl->hasDefinition() || PDecl->getDefinition()->isHidden()) { in NestedProtocolHasNoDefinition() 1295 if (!PDecl) { in FindProtocolDeclaration() 1306 if (!PDecl) { in FindProtocolDeclaration() 1311 if (!PDecl->isThisDeclarationADefinition() && PDecl->getDefinition()) in FindProtocolDeclaration() 1312 PDecl = PDecl->getDefinition(); in FindProtocolDeclaration() 1772 ObjCProtocolDecl *PDecl in ActOnForwardProtocolDeclaration() local [all …]
|
| H A D | SemaExprObjC.cpp | 1225 ObjCProtocolDecl* PDecl = LookupProtocol(ProtocolId, ProtoIdLoc); in ParseObjCProtocolExpression() local 1226 if (!PDecl) { in ParseObjCProtocolExpression() 1230 if (!PDecl->hasDefinition()) { in ParseObjCProtocolExpression() 1231 Diag(ProtoLoc, diag::err_atprotocol_protocol) << PDecl; in ParseObjCProtocolExpression() 1232 Diag(PDecl->getLocation(), diag::note_entity_declared_at) << PDecl; in ParseObjCProtocolExpression() 1234 PDecl = PDecl->getDefinition(); in ParseObjCProtocolExpression() 1907 << MemberName << QualType(OPT, 0) << PDecl->getName() in HandleExprPropertyRefExpr() 3969 if (ObjCPropertyDecl *PDecl = PRE->getExplicitProperty()) in CheckObjCBridgeRelatedCast() local 3970 SrcType = PDecl->getType(); in CheckObjCBridgeRelatedCast() 4135 if (const ObjCPropertyDecl *PDecl = in CheckObjCBridgeRelatedConversions() local [all …]
|
| H A D | SemaExprMember.cpp | 431 static Decl *FindGetterSetterNameDeclFromProtocolList(const ObjCProtocolDecl*PDecl, in FindGetterSetterNameDeclFromProtocolList() argument 436 if (ObjCPropertyDecl *PD = PDecl->FindPropertyDeclaration( in FindGetterSetterNameDeclFromProtocolList() 439 if (ObjCMethodDecl *OMD = PDecl->getInstanceMethod(Sel)) in FindGetterSetterNameDeclFromProtocolList() 442 for (const auto *I : PDecl->protocols()) { in FindGetterSetterNameDeclFromProtocolList()
|
| H A D | SemaCodeComplete.cpp | 3183 const ObjCPropertyDecl *PDecl = M->findPropertyDecl(); in getCompletionComment() local 3184 if (!PDecl) in getCompletionComment() 3187 return Ctx.getRawCommentForAnyRedecl(PDecl); in getCompletionComment() 3200 const ObjCPropertyDecl *PDecl = M->findPropertyDecl(); in getPatternCompletionComment() local 3201 if (!PDecl) in getPatternCompletionComment() 3203 if (PDecl->getGetterName() == M->getSelector() && in getPatternCompletionComment() 3204 PDecl->getIdentifier() != M->getIdentifier()) { in getPatternCompletionComment() 3207 if (auto *RC = Ctx.getRawCommentForAnyRedecl(PDecl)) in getPatternCompletionComment()
|
| H A D | SemaDeclAttr.cpp | 5041 if (const auto *PDecl = dyn_cast_or_null<ObjCProtocolDecl>(DC)) { in handleObjCRequiresSuperAttr() local 5044 S.Diag(PDecl->getLocation(), diag::note_protocol_decl); in handleObjCRequiresSuperAttr() 6189 if (const auto *PDecl = dyn_cast<ParmVarDecl>(D)) { in handleOpenCLAccessAttr() local 6190 const Type *DeclTy = PDecl->getType().getCanonicalType().getTypePtr(); in handleOpenCLAccessAttr() 6194 << AL << PDecl->getType() << DeclTy->isImageType(); in handleOpenCLAccessAttr()
|
| H A D | SemaExpr.cpp | 14007 const ObjCProtocolDecl *PDecl = nullptr; in DiagnoseAssignmentResult() local 14097 PDecl = srcProto; in DiagnoseAssignmentResult() 14108 PDecl = dstProto; in DiagnoseAssignmentResult() 14181 PDecl && IFace && !IFace->hasDefinition()) in DiagnoseAssignmentResult() 14183 << IFace << PDecl; in DiagnoseAssignmentResult()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | DeclPrinter.cpp | 1392 void DeclPrinter::VisitObjCPropertyDecl(ObjCPropertyDecl *PDecl) { in VisitObjCPropertyDecl() argument 1398 QualType T = PDecl->getType(); in VisitObjCPropertyDecl() 1404 if (PDecl->getPropertyAttributes() & in VisitObjCPropertyDecl() 1412 PDecl->getGetterName().print(Out); in VisitObjCPropertyDecl() 1417 PDecl->getSetterName().print(Out); in VisitObjCPropertyDecl() 1426 if (PDecl->getPropertyAttributes() & in VisitObjCPropertyDecl() 1447 if (PDecl->getPropertyAttributes() & in VisitObjCPropertyDecl() 1452 if (PDecl->getPropertyAttributes() & in VisitObjCPropertyDecl() 1458 if (PDecl->getPropertyAttributes() & in VisitObjCPropertyDecl() 1462 (PDecl->getPropertyAttributes() & in VisitObjCPropertyDecl() [all …]
|
| H A D | DeclObjC.cpp | 1877 ObjCProtocolDecl *PDecl = this; in lookupProtocolNamed() local 1880 return PDecl; in lookupProtocolNamed() 1883 if ((PDecl = I->lookupProtocolNamed(Name))) in lookupProtocolNamed() 1884 return PDecl; in lookupProtocolNamed() 1926 if (const ObjCProtocolDecl *PDecl = getDefinition()) { in collectPropertiesToImplement() local 1927 for (auto *Prop : PDecl->properties()) { in collectPropertiesToImplement() 1935 for (const auto *PI : PDecl->protocols()) in collectPropertiesToImplement() 1943 if (const ObjCProtocolDecl *PDecl = getDefinition()) { in collectInheritedProtocolProperties() local 1944 if (!PS.insert(PDecl).second) in collectInheritedProtocolProperties() 1946 for (auto *Prop : PDecl->properties()) { in collectInheritedProtocolProperties() [all …]
|
| H A D | ASTContext.cpp | 518 if (const ObjCPropertyDecl *PDecl = OMD->findPropertyDecl()) in getCommentForDecl() local 519 if (comments::FullComment *FC = getCommentForDecl(PDecl, PP)) in getCommentForDecl()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteObjC.cpp | 994 for (auto *I : PDecl->class_methods()) in RewriteProtocolDecl() 1129 QualType QT = PDecl->getType(); in RewriteObjCMethodDecl() 5096 PDecl = Def; in RewriteObjCProtocolMetaData() 5098 if (PDecl->instmeth_begin() != PDecl->instmeth_end()) { in RewriteObjCProtocolMetaData() 5111 Result += PDecl->getNameAsString(); in RewriteObjCProtocolMetaData() 5117 I = PDecl->instmeth_begin(), E = PDecl->instmeth_end(); in RewriteObjCProtocolMetaData() 5154 I = PDecl->classmeth_begin(), E = PDecl->classmeth_end(); in RewriteObjCProtocolMetaData() 5193 Result += PDecl->getNameAsString(); in RewriteObjCProtocolMetaData() 5196 Result += PDecl->getNameAsString(); in RewriteObjCProtocolMetaData() 5198 if (PDecl->instmeth_begin() != PDecl->instmeth_end()) { in RewriteObjCProtocolMetaData() [all …]
|
| H A D | RewriteModernObjC.cpp | 1162 for (auto *I : PDecl->instance_methods()) in RewriteProtocolDecl() 1164 for (auto *I : PDecl->class_methods()) in RewriteProtocolDecl() 1296 ResultStr += PDecl->getNameAsString(); in RewriteObjCMethodDecl() 1299 QualType QT = PDecl->getType(); in RewriteObjCMethodDecl() 5821 Result += PDecl->getNameAsString(); in Write_ProtocolExprReferencedMetadata() 6851 PDecl = Def; in RewriteObjCProtocolMetaData() 6854 for (auto *I : PDecl->protocols()) in RewriteObjCProtocolMetaData() 6868 for (auto *MD : PDecl->class_methods()) { in RewriteObjCProtocolMetaData() 6913 PDecl->instance_properties()); in RewriteObjCProtocolMetaData() 6924 Result += PDecl->getNameAsString(); in RewriteObjCProtocolMetaData() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/ |
| H A D | TransZeroOutPropsInDealloc.cpp | 206 if (ObjCPropertyDecl *PDecl = PropRefExp->getExplicitProperty()) { in isZeroingPropIvar() local 207 if (!SynthesizedProperties.count(PDecl)) in isZeroingPropIvar()
|
| H A D | ObjCMT.cpp | 607 if (const ObjCProtocolDecl *PDecl = Protocol->getDefinition()) in ClassImplementsAllMethodsAndProperties() local 608 for (const auto *Property : PDecl->instance_properties()) { in ClassImplementsAllMethodsAndProperties() 636 if (const ObjCProtocolDecl *PDecl = Protocol->getDefinition()) { in ClassImplementsAllMethodsAndProperties() local 637 if (PDecl->meth_begin() == PDecl->meth_end()) in ClassImplementsAllMethodsAndProperties() 639 for (const auto *MD : PDecl->methods()) { in ClassImplementsAllMethodsAndProperties() 868 ObjCProtocolDecl *PDecl = ConformingProtocols[i1]; in migrateProtocolConformance() local 869 if (PDecl == TargetPDecl) in migrateProtocolConformance() 871 if (PDecl->lookupProtocolNamed( in migrateProtocolConformance() 1864 ObjCProtocolDecls.insert(PDecl->getCanonicalDecl()); in HandleTranslationUnit() 1865 if (canModify(PDecl)) in HandleTranslationUnit() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/ |
| H A D | BodyFarm.cpp | 411 const ParmVarDecl *PDecl = D->getParamDecl(ParamIdx); in create_call_once() local 412 if (PDecl && in create_call_once() 416 PDecl->getType().getNonReferenceType().getCanonicalType()) { in create_call_once() 422 Expr *ParamExpr = M.makeDeclRefExpr(PDecl); in create_call_once() 424 QualType PTy = PDecl->getType().getNonReferenceType(); in create_call_once()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/ |
| H A D | RetainCountDiagnostics.cpp | 712 const Decl *PDecl = Region->getDecl(); in deriveParamLocation() local 713 if (PDecl && isa<ParmVarDecl>(PDecl)) { in deriveParamLocation() 715 PathDiagnosticLocation::create(PDecl, SMgr); in deriveParamLocation()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CodeGenFunction.cpp | 692 const Decl *PDecl = parm; in GenOpenCLArgMetadata() local 694 PDecl = TD->getDecl(); in GenOpenCLArgMetadata() 695 const OpenCLAccessAttr *A = PDecl->getAttr<OpenCLAccessAttr>(); in GenOpenCLArgMetadata()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/ |
| H A D | Sema.h | 3483 const ObjCPropertyDecl *&PDecl) const;
|