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

/openbsd-current/gnu/llvm/clang/lib/Sema/
H A DSemaDeclObjC.cpp1201 if (ObjCProtocolDecl *PDecl = LookupProtocol((*I)->getIdentifier(),
1203 if (PDecl->getIdentifier() == PName) {
1209 if (!PDecl->hasDefinition())
1213 PDecl->getLocation(), PDecl->getReferencedProtocols()))
1230 ObjCProtocolDecl *PDecl = nullptr; local
1236 PDecl = ObjCProtocolDecl::Create(Context, CurContext, ProtocolName,
1242 SkipBody->New = PDecl;
1253 PushOnScopeChains(PDecl, TUScope);
1254 PDecl
1294 NestedProtocolHasNoDefinition(ObjCProtocolDecl *PDecl, ObjCProtocolDecl *&UndefinedProtocol) argument
1318 ObjCProtocolDecl *PDecl = LookupProtocol(Pair.first, Pair.second); local
1798 ObjCProtocolDecl *PDecl local
2679 findProtocolsWithExplicitImpls(const ObjCProtocolDecl *PDecl, ProtocolNameSet &PNS) argument
2703 CheckProtocolMethodDefs( Sema &S, ObjCImplDecl *Impl, ObjCProtocolDecl *PDecl, bool &IncompleteImpl, const Sema::SelectorSet &InsMap, const Sema::SelectorSet &ClsMap, ObjCContainerDecl *CDecl, LazyProtocolNameSet &ProtocolsExplictImpl) argument
3941 DiagnoseCategoryDirectMembersProtocolConformance( Sema &S, ObjCProtocolDecl *PDecl, ObjCCategoryDecl *CDecl) argument
5350 const ObjCPropertyDecl *PDecl; local
[all...]
H A DSemaObjCProperty.cpp512 ObjCPropertyDecl *PDecl = CreatePropertyDecl(S, CDecl, AtLoc, LParenLoc, local
522 ProcessPropertyDecl(PDecl);
523 return PDecl;
526 if (!Context.hasSameType(PIDecl->getType(), PDecl->getType())) {
536 QualType ClassExtPropertyT = Context.getCanonicalType(PDecl->getType());
543 diag::err_type_mismatch_continuation_class) << PDecl->getType();
551 checkAtomicPropertyMismatch(*this, PIDecl, PDecl, true);
554 ProcessPropertyDecl(PDecl);
555 return PDecl;
615 ObjCPropertyDecl *PDecl local
2636 CheckObjCPropertyAttributes(Decl *PDecl, SourceLocation Loc, unsigned &Attributes, bool propertyInPrimaryClass) argument
[all...]
H A DSemaExprObjC.cpp1390 ObjCProtocolDecl* PDecl = LookupProtocol(ProtocolId, ProtoIdLoc); local
1391 if (!PDecl) {
1395 if (PDecl->isNonRuntimeProtocol())
1397 << PDecl;
1398 if (!PDecl->hasDefinition()) {
1399 Diag(ProtoLoc, diag::err_atprotocol_protocol) << PDecl;
1400 Diag(PDecl->getLocation(), diag::note_entity_declared_at) << PDecl;
1402 PDecl = 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.cpp3693 const ObjCPropertyDecl *PDecl = M->findPropertyDecl(); local
3694 if (!PDecl)
3697 return Ctx.getRawCommentForAnyRedecl(PDecl);
3710 const ObjCPropertyDecl *PDecl = M->findPropertyDecl(); local
3711 if (!PDecl)
3713 if (PDecl->getGetterName() == M->getSelector() &&
3714 PDecl->getIdentifier() != M->getIdentifier()) {
3717 if (auto *RC = Ctx.getRawCommentForAnyRedecl(PDecl))
H A DSemaDeclAttr.cpp6018 if (const auto *PDecl = dyn_cast_or_null<ObjCProtocolDecl>(DC)) {
6021 S.Diag(PDecl->getLocation(), diag::note_protocol_decl);
8198 if (const auto *PDecl = dyn_cast<ParmVarDecl>(D)) {
8199 const Type *DeclTy = PDecl->getType().getCanonicalType().getTypePtr();
8208 << AL << PDecl->getType() << DeclTy->isImageType();
H A DSemaExpr.cpp17149 const ObjCProtocolDecl *PDecl = nullptr; local
17293 PDecl = srcProto;
17304 PDecl = dstProto;
17399 PDecl && IFace && !IFace->hasDefinition())
17401 << IFace << PDecl; local
/openbsd-current/gnu/llvm/clang/lib/AST/
H A DDeclPrinter.cpp1491 void DeclPrinter::VisitObjCPropertyDecl(ObjCPropertyDecl *PDecl) { argument
1492 if (PDecl->getPropertyImplementation() == ObjCPropertyDecl::Required)
1494 else if (PDecl->getPropertyImplementation() == ObjCPropertyDecl::Optional)
1497 QualType T = PDecl->getType();
1500 if (PDecl->getPropertyAttributes() != ObjCPropertyAttribute::kind_noattr) {
1503 if (PDecl->getPropertyAttributes() & ObjCPropertyAttribute::kind_class) {
1508 if (PDecl->getPropertyAttributes() & ObjCPropertyAttribute::kind_direct) {
1513 if (PDecl->getPropertyAttributes() &
1518 if (PDecl->getPropertyAttributes() & ObjCPropertyAttribute::kind_atomic) {
1523 if (PDecl
1594 Out << *PDecl; local
[all...]
H A DDeclObjC.cpp1989 ObjCProtocolDecl *PDecl = this; local
1992 return PDecl;
1995 if ((PDecl = I->lookupProtocolNamed(Name)))
1996 return PDecl;
2049 if (const ObjCProtocolDecl *PDecl = getDefinition()) {
2050 for (auto *Prop : PDecl->properties()) {
2057 for (const auto *PI : PDecl->protocols())
2065 if (const ObjCProtocolDecl *PDecl = getDefinition()) {
2066 if (!PS.insert(PDecl).second)
2068 for (auto *Prop : PDecl
[all...]
H A DASTContext.cpp587 if (const ObjCPropertyDecl *PDecl = OMD->findPropertyDecl())
588 if (comments::FullComment *FC = getCommentForDecl(PDecl, PP))
/openbsd-current/gnu/llvm/clang/lib/ARCMigrate/
H A DTransZeroOutPropsInDealloc.cpp203 if (ObjCPropertyDecl *PDecl = PropRefExp->getExplicitProperty()) {
204 if (!SynthesizedProperties.count(PDecl))
H A DObjCMT.cpp609 if (const ObjCProtocolDecl *PDecl = Protocol->getDefinition())
610 for (const auto *Property : PDecl->instance_properties()) {
636 if (const ObjCProtocolDecl *PDecl = Protocol->getDefinition()) {
637 if (PDecl->meth_begin() == PDecl->meth_end())
639 for (const auto *MD : PDecl->methods()) {
868 ObjCProtocolDecl *PDecl = ConformingProtocols[i1]; local
869 if (PDecl == TargetPDecl)
871 if (PDecl->lookupProtocolNamed(
1857 else if (ObjCProtocolDecl *PDecl
[all...]
/openbsd-current/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountDiagnostics.cpp864 const Decl *PDecl = Region->getDecl(); local
865 if (isa_and_nonnull<ParmVarDecl>(PDecl)) {
867 PathDiagnosticLocation::create(PDecl, SMgr);
/openbsd-current/gnu/llvm/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp1155 void RewriteModernObjC::RewriteProtocolDecl(ObjCProtocolDecl *PDecl) { argument
1156 SourceLocation LocStart = PDecl->getBeginLoc();
1157 assert(PDecl->isThisDeclarationADefinition());
1162 for (auto *I : PDecl->instance_methods())
1164 for (auto *I : PDecl->class_methods())
1166 for (auto *I : PDecl->instance_properties())
1170 SourceLocation LocEnd = PDecl->getAtEndRange().getBegin();
1292 for (const auto *PDecl : OMD->parameters()) {
1294 if (PDecl->getType()->isObjCQualifiedIdType()) {
1296 ResultStr += PDecl
5810 Write_ProtocolExprReferencedMetadata(ASTContext *Context, ObjCProtocolDecl *PDecl, std::string &Result) argument
6839 RewriteObjCProtocolMetaData(ObjCProtocolDecl *PDecl, std::string &Result) argument
[all...]
H A DRewriteObjC.cpp988 void RewriteObjC::RewriteProtocolDecl(ObjCProtocolDecl *PDecl) { argument
989 SourceLocation LocStart = PDecl->getBeginLoc();
990 assert(PDecl->isThisDeclarationADefinition());
995 for (auto *I : PDecl->instance_methods())
997 for (auto *I : PDecl->class_methods())
999 for (auto *I : PDecl->instance_properties())
1003 SourceLocation LocEnd = PDecl->getAtEndRange().getBegin();
1125 for (const auto *PDecl : OMD->parameters()) {
1127 if (PDecl->getType()->isObjCQualifiedIdType()) {
1129 ResultStr += PDecl
5075 RewriteObjCProtocolMetaData( ObjCProtocolDecl *PDecl, StringRef prefix, StringRef ClassName, std::string &Result) argument
[all...]
/openbsd-current/gnu/llvm/clang/lib/Analysis/
H A DBodyFarm.cpp439 const ParmVarDecl *PDecl = D->getParamDecl(ParamIdx); local
440 assert(PDecl);
444 PDecl->getType().getNonReferenceType().getCanonicalType()) {
450 Expr *ParamExpr = M.makeDeclRefExpr(PDecl);
452 QualType PTy = PDecl->getType().getNonReferenceType();
/openbsd-current/gnu/llvm/clang/lib/CodeGen/
H A DCodeGenModule.cpp1833 const Decl *PDecl = parm; local
1835 PDecl = TD->getDecl();
1836 const OpenCLAccessAttr *A = PDecl->getAttr<OpenCLAccessAttr>();
/openbsd-current/gnu/llvm/clang/include/clang/Sema/
H A DSema.h4793 const ObjCPropertyDecl *&PDecl) const;

Completed in 523 milliseconds