Searched refs:PDecl (Results 1 - 18 of 18) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaObjCProperty.cpp519 ObjCPropertyDecl *PDecl = CreatePropertyDecl(S, CDecl, AtLoc, LParenLoc, local
529 ProcessPropertyDecl(PDecl);
530 return PDecl;
533 if (!Context.hasSameType(PIDecl->getType(), PDecl->getType())) {
543 QualType ClassExtPropertyT = Context.getCanonicalType(PDecl->getType());
550 diag::err_type_mismatch_continuation_class) << PDecl->getType();
558 checkAtomicPropertyMismatch(*this, PIDecl, PDecl, true);
561 ProcessPropertyDecl(PDecl);
562 return PDecl;
622 ObjCPropertyDecl *PDecl local
2650 CheckObjCPropertyAttributes(Decl *PDecl, SourceLocation Loc, unsigned &Attributes, bool propertyInPrimaryClass) argument
[all...]
H A DSemaDeclObjC.cpp1187 if (ObjCProtocolDecl *PDecl = LookupProtocol((*I)->getIdentifier(),
1189 if (PDecl->getIdentifier() == PName) {
1195 if (!PDecl->hasDefinition())
1199 PDecl->getLocation(), PDecl->getReferencedProtocols()))
1216 ObjCProtocolDecl *PDecl = nullptr; local
1226 PDecl = ObjCProtocolDecl::Create(Context, CurContext, ProtocolName,
1233 PushOnScopeChains(PDecl, TUScope);
1234 PDecl->startDefinition();
1246 PDecl
1273 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
5265 const ObjCPropertyDecl *PDecl; local
[all...]
H A DSemaExprObjC.cpp1392 ObjCProtocolDecl* PDecl = LookupProtocol(ProtocolId, ProtoIdLoc); local
1393 if (!PDecl) {
1397 if (!PDecl->hasDefinition()) {
1398 Diag(ProtoLoc, diag::err_atprotocol_protocol) << PDecl;
1399 Diag(PDecl->getLocation(), diag::note_entity_declared_at) << PDecl;
1401 PDecl = PDecl->getDefinition();
1408 return new (Context) ObjCProtocolExpr(Ty, PDecl, AtLoc, ProtoIdLoc, RParenLoc);
2067 if (const ObjCPropertyDecl *PDecl
[all...]
H A DSemaExprMember.cpp430 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 DSemaCodeComplete.cpp3593 const ObjCPropertyDecl *PDecl = M->findPropertyDecl(); local
3594 if (!PDecl)
3597 return Ctx.getRawCommentForAnyRedecl(PDecl);
3610 const ObjCPropertyDecl *PDecl = M->findPropertyDecl(); local
3611 if (!PDecl)
3613 if (PDecl->getGetterName() == M->getSelector() &&
3614 PDecl->getIdentifier() != M->getIdentifier()) {
3617 if (auto *RC = Ctx.getRawCommentForAnyRedecl(PDecl))
H A DSemaDeclAttr.cpp5319 if (const auto *PDecl = dyn_cast_or_null<ObjCProtocolDecl>(DC)) {
5322 S.Diag(PDecl->getLocation(), diag::note_protocol_decl);
6565 if (const auto *PDecl = dyn_cast<ParmVarDecl>(D)) {
6566 const Type *DeclTy = PDecl->getType().getCanonicalType().getTypePtr();
6572 << AL << PDecl->getType() << DeclTy->isImageType();
H A DSemaExpr.cpp15551 const ObjCProtocolDecl *PDecl = nullptr; local
15690 PDecl = srcProto;
15701 PDecl = dstProto;
15786 PDecl && IFace && !IFace->hasDefinition())
15788 << IFace << PDecl; local
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DDeclPrinter.cpp1429 void DeclPrinter::VisitObjCPropertyDecl(ObjCPropertyDecl *PDecl) { argument
1430 if (PDecl->getPropertyImplementation() == ObjCPropertyDecl::Required)
1432 else if (PDecl->getPropertyImplementation() == ObjCPropertyDecl::Optional)
1435 QualType T = PDecl->getType();
1438 if (PDecl->getPropertyAttributes() != ObjCPropertyAttribute::kind_noattr) {
1441 if (PDecl->getPropertyAttributes() & ObjCPropertyAttribute::kind_class) {
1446 if (PDecl->getPropertyAttributes() & ObjCPropertyAttribute::kind_direct) {
1451 if (PDecl->getPropertyAttributes() &
1456 if (PDecl->getPropertyAttributes() & ObjCPropertyAttribute::kind_atomic) {
1461 if (PDecl
1532 Out << *PDecl; local
[all...]
H A DDeclObjC.cpp1901 ObjCProtocolDecl *PDecl = this; local
1904 return PDecl;
1907 if ((PDecl = I->lookupProtocolNamed(Name)))
1908 return PDecl;
1950 if (const ObjCProtocolDecl *PDecl = getDefinition()) {
1951 for (auto *Prop : PDecl->properties()) {
1959 for (const auto *PI : PDecl->protocols())
1967 if (const ObjCProtocolDecl *PDecl = getDefinition()) {
1968 if (!PS.insert(PDecl).second)
1970 for (auto *Prop : PDecl
[all...]
H A DASTContext.cpp578 if (const ObjCPropertyDecl *PDecl = OMD->findPropertyDecl())
579 if (comments::FullComment *FC = getCommentForDecl(PDecl, PP))
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountDiagnostics.cpp834 const Decl *PDecl = Region->getDecl(); local
835 if (PDecl && isa<ParmVarDecl>(PDecl)) {
837 PathDiagnosticLocation::create(PDecl, SMgr);
/freebsd-13-stable/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransZeroOutPropsInDealloc.cpp203 if (ObjCPropertyDecl *PDecl = PropRefExp->getExplicitProperty()) {
204 if (!SynthesizedProperties.count(PDecl))
H A DObjCMT.cpp610 if (const ObjCProtocolDecl *PDecl = Protocol->getDefinition())
611 for (const auto *Property : PDecl->instance_properties()) {
639 if (const ObjCProtocolDecl *PDecl = Protocol->getDefinition()) {
640 if (PDecl->meth_begin() == PDecl->meth_end())
642 for (const auto *MD : PDecl->methods()) {
871 ObjCProtocolDecl *PDecl = ConformingProtocols[i1]; local
872 if (PDecl == TargetPDecl)
874 if (PDecl->lookupProtocolNamed(
1863 else if (ObjCProtocolDecl *PDecl
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp1153 void RewriteModernObjC::RewriteProtocolDecl(ObjCProtocolDecl *PDecl) { argument
1154 SourceLocation LocStart = PDecl->getBeginLoc();
1155 assert(PDecl->isThisDeclarationADefinition());
1160 for (auto *I : PDecl->instance_methods())
1162 for (auto *I : PDecl->class_methods())
1164 for (auto *I : PDecl->instance_properties())
1168 SourceLocation LocEnd = PDecl->getAtEndRange().getBegin();
1290 for (const auto *PDecl : OMD->parameters()) {
1292 if (PDecl->getType()->isObjCQualifiedIdType()) {
1294 ResultStr += PDecl
5814 Write_ProtocolExprReferencedMetadata(ASTContext *Context, ObjCProtocolDecl *PDecl, std::string &Result) argument
6843 RewriteObjCProtocolMetaData(ObjCProtocolDecl *PDecl, std::string &Result) argument
[all...]
H A DRewriteObjC.cpp987 void RewriteObjC::RewriteProtocolDecl(ObjCProtocolDecl *PDecl) { argument
988 SourceLocation LocStart = PDecl->getBeginLoc();
989 assert(PDecl->isThisDeclarationADefinition());
994 for (auto *I : PDecl->instance_methods())
996 for (auto *I : PDecl->class_methods())
998 for (auto *I : PDecl->instance_properties())
1002 SourceLocation LocEnd = PDecl->getAtEndRange().getBegin();
1124 for (const auto *PDecl : OMD->parameters()) {
1126 if (PDecl->getType()->isObjCQualifiedIdType()) {
1128 ResultStr += PDecl
5081 RewriteObjCProtocolMetaData( ObjCProtocolDecl *PDecl, StringRef prefix, StringRef ClassName, std::string &Result) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/
H A DBodyFarm.cpp409 const ParmVarDecl *PDecl = D->getParamDecl(ParamIdx); local
410 assert(PDecl);
414 PDecl->getType().getNonReferenceType().getCanonicalType()) {
420 Expr *ParamExpr = M.makeDeclRefExpr(PDecl);
422 QualType PTy = PDecl->getType().getNonReferenceType();
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenModule.cpp1470 const Decl *PDecl = parm; local
1472 PDecl = TD->getDecl();
1473 const OpenCLAccessAttr *A = PDecl->getAttr<OpenCLAccessAttr>();
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h4087 const ObjCPropertyDecl *&PDecl) const;

Completed in 604 milliseconds