/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaObjCProperty.cpp | 520 ObjCPropertyDecl *PDecl = CreatePropertyDecl(S, CDecl, AtLoc, LParenLoc, local 530 ProcessPropertyDecl(PDecl); 531 return PDecl; 534 if (!Context.hasSameType(PIDecl->getType(), PDecl->getType())) { 544 QualType ClassExtPropertyT = Context.getCanonicalType(PDecl->getType()); 551 diag::err_type_mismatch_continuation_class) << PDecl->getType(); 559 checkAtomicPropertyMismatch(*this, PIDecl, PDecl, true); 562 ProcessPropertyDecl(PDecl); 563 return PDecl; 623 ObjCPropertyDecl *PDecl local 2617 CheckObjCPropertyAttributes(Decl *PDecl, SourceLocation Loc, unsigned &Attributes, bool propertyInPrimaryClass) argument [all...] |
H A D | SemaDeclObjC.cpp | 1188 if (ObjCProtocolDecl *PDecl = LookupProtocol((*I)->getIdentifier(), 1190 if (PDecl->getIdentifier() == PName) { 1196 if (!PDecl->hasDefinition()) 1200 PDecl->getLocation(), PDecl->getReferencedProtocols())) 1217 ObjCProtocolDecl *PDecl = nullptr; local 1227 PDecl = ObjCProtocolDecl::Create(Context, CurContext, ProtocolName, 1234 PushOnScopeChains(PDecl, TUScope); 1235 PDecl->startDefinition(); 1247 PDecl 1274 NestedProtocolHasNoDefinition(ObjCProtocolDecl *PDecl, ObjCProtocolDecl *&UndefinedProtocol) argument 1297 ObjCProtocolDecl *PDecl = LookupProtocol(Pair.first, Pair.second); local 1777 ObjCProtocolDecl *PDecl local 2648 findProtocolsWithExplicitImpls(const ObjCProtocolDecl *PDecl, ProtocolNameSet &PNS) argument 2672 CheckProtocolMethodDefs(Sema &S, SourceLocation ImpLoc, ObjCProtocolDecl *PDecl, bool& IncompleteImpl, const Sema::SelectorSet &InsMap, const Sema::SelectorSet &ClsMap, ObjCContainerDecl *CDecl, LazyProtocolNameSet &ProtocolsExplictImpl) argument 5232 const ObjCPropertyDecl *PDecl; local [all...] |
H A D | SemaExprObjC.cpp | 1278 ObjCProtocolDecl* PDecl = LookupProtocol(ProtocolId, ProtoIdLoc); local 1279 if (!PDecl) { 1283 if (!PDecl->hasDefinition()) { 1284 Diag(ProtoLoc, diag::err_atprotocol_protocol) << PDecl; 1285 Diag(PDecl->getLocation(), diag::note_entity_declared_at) << PDecl; 1287 PDecl = PDecl->getDefinition(); 1294 return new (Context) ObjCProtocolExpr(Ty, PDecl, AtLoc, ProtoIdLoc, RParenLoc); 1953 if (const ObjCPropertyDecl *PDecl [all...] |
H A D | SemaExprMember.cpp | 430 static Decl *FindGetterSetterNameDeclFromProtocolList(const ObjCProtocolDecl*PDecl, 435 if (ObjCPropertyDecl *PD = PDecl->FindPropertyDeclaration( 438 if (ObjCMethodDecl *OMD = PDecl->getInstanceMethod(Sel)) 441 for (const auto *I : PDecl->protocols()) {
|
H A D | SemaCodeComplete.cpp | 3564 const ObjCPropertyDecl *PDecl = M->findPropertyDecl(); local 3565 if (!PDecl) 3568 return Ctx.getRawCommentForAnyRedecl(PDecl); 3581 const ObjCPropertyDecl *PDecl = M->findPropertyDecl(); local 3582 if (!PDecl) 3584 if (PDecl->getGetterName() == M->getSelector() && 3585 PDecl->getIdentifier() != M->getIdentifier()) { 3588 if (auto *RC = Ctx.getRawCommentForAnyRedecl(PDecl))
|
H A D | SemaDeclAttr.cpp | 5229 if (const auto *PDecl = dyn_cast_or_null<ObjCProtocolDecl>(DC)) { 5232 S.Diag(PDecl->getLocation(), diag::note_protocol_decl); 6439 if (const auto *PDecl = dyn_cast<ParmVarDecl>(D)) { 6440 const Type *DeclTy = PDecl->getType().getCanonicalType().getTypePtr(); 6446 << AL << PDecl->getType() << DeclTy->isImageType();
|
H A D | SemaExpr.cpp | 14779 const ObjCProtocolDecl *PDecl = nullptr; local 14872 PDecl = srcProto; 14883 PDecl = dstProto; 14956 PDecl && IFace && !IFace->hasDefinition()) 14958 << IFace << PDecl; local
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/ |
H A D | DeclPrinter.cpp | 1447 void DeclPrinter::VisitObjCPropertyDecl(ObjCPropertyDecl *PDecl) { argument 1448 if (PDecl->getPropertyImplementation() == ObjCPropertyDecl::Required) 1450 else if (PDecl->getPropertyImplementation() == ObjCPropertyDecl::Optional) 1453 QualType T = PDecl->getType(); 1456 if (PDecl->getPropertyAttributes() != ObjCPropertyDecl::OBJC_PR_noattr) { 1459 if (PDecl->getPropertyAttributes() & ObjCPropertyDecl::OBJC_PR_class) { 1464 if (PDecl->getPropertyAttributes() & ObjCPropertyDecl::OBJC_PR_direct) { 1469 if (PDecl->getPropertyAttributes() & 1474 if (PDecl->getPropertyAttributes() & 1480 if (PDecl 1552 Out << *PDecl; local [all...] |
H A D | DeclObjC.cpp | 1902 ObjCProtocolDecl *PDecl = this; local 1905 return PDecl; 1908 if ((PDecl = I->lookupProtocolNamed(Name))) 1909 return PDecl; 1951 if (const ObjCProtocolDecl *PDecl = getDefinition()) { 1952 for (auto *Prop : PDecl->properties()) { 1960 for (const auto *PI : PDecl->protocols()) 1968 if (const ObjCProtocolDecl *PDecl = getDefinition()) { 1969 if (!PS.insert(PDecl).second) 1971 for (auto *Prop : PDecl [all...] |
H A D | ASTContext.cpp | 585 if (const ObjCPropertyDecl *PDecl = OMD->findPropertyDecl()) 586 if (comments::FullComment *FC = getCommentForDecl(PDecl, PP))
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/ |
H A D | RetainCountDiagnostics.cpp | 835 const Decl *PDecl = Region->getDecl(); local 836 if (PDecl && isa<ParmVarDecl>(PDecl)) { 838 PathDiagnosticLocation::create(PDecl, SMgr);
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | TransZeroOutPropsInDealloc.cpp | 205 if (ObjCPropertyDecl *PDecl = PropRefExp->getExplicitProperty()) { 206 if (!SynthesizedProperties.count(PDecl))
|
H A D | ObjCMT.cpp | 618 if (const ObjCProtocolDecl *PDecl = Protocol->getDefinition()) 619 for (const auto *Property : PDecl->instance_properties()) { 647 if (const ObjCProtocolDecl *PDecl = Protocol->getDefinition()) { 648 if (PDecl->meth_begin() == PDecl->meth_end()) 650 for (const auto *MD : PDecl->methods()) { 879 ObjCProtocolDecl *PDecl = ConformingProtocols[i1]; local 880 if (PDecl == TargetPDecl) 882 if (PDecl->lookupProtocolNamed( 1871 else if (ObjCProtocolDecl *PDecl [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
H A D | RewriteObjC.cpp | 986 void RewriteObjC::RewriteProtocolDecl(ObjCProtocolDecl *PDecl) { argument 987 SourceLocation LocStart = PDecl->getBeginLoc(); 988 assert(PDecl->isThisDeclarationADefinition()); 993 for (auto *I : PDecl->instance_methods()) 995 for (auto *I : PDecl->class_methods()) 997 for (auto *I : PDecl->instance_properties()) 1001 SourceLocation LocEnd = PDecl->getAtEndRange().getBegin(); 1123 for (const auto *PDecl : OMD->parameters()) { 1125 if (PDecl->getType()->isObjCQualifiedIdType()) { 1127 ResultStr += PDecl 5076 RewriteObjCProtocolMetaData( ObjCProtocolDecl *PDecl, StringRef prefix, StringRef ClassName, std::string &Result) argument [all...] |
H A D | RewriteModernObjC.cpp | 1152 void RewriteModernObjC::RewriteProtocolDecl(ObjCProtocolDecl *PDecl) { argument 1153 SourceLocation LocStart = PDecl->getBeginLoc(); 1154 assert(PDecl->isThisDeclarationADefinition()); 1159 for (auto *I : PDecl->instance_methods()) 1161 for (auto *I : PDecl->class_methods()) 1163 for (auto *I : PDecl->instance_properties()) 1167 SourceLocation LocEnd = PDecl->getAtEndRange().getBegin(); 1289 for (const auto *PDecl : OMD->parameters()) { 1291 if (PDecl->getType()->isObjCQualifiedIdType()) { 1293 ResultStr += PDecl 5810 Write_ProtocolExprReferencedMetadata(ASTContext *Context, ObjCProtocolDecl *PDecl, std::string &Result) argument 6839 RewriteObjCProtocolMetaData(ObjCProtocolDecl *PDecl, std::string &Result) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/Analysis/ |
H A D | BodyFarm.cpp | 410 const ParmVarDecl *PDecl = D->getParamDecl(ParamIdx); local 411 assert(PDecl); 415 PDecl->getType().getNonReferenceType().getCanonicalType()) { 421 Expr *ParamExpr = M.makeDeclRefExpr(PDecl); 423 QualType PTy = PDecl->getType().getNonReferenceType();
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CodeGenModule.cpp | 1416 const Decl *PDecl = parm; local 1418 PDecl = TD->getDecl(); 1419 const OpenCLAccessAttr *A = PDecl->getAttr<OpenCLAccessAttr>();
|
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Sema.h | 3908 const ObjCPropertyDecl *&PDecl) const;
|