HomeSort by: relevance | last modified time | path
    Searched refs:PDecl (Results 1 - 18 of 18) sorted by relevancy

  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaObjCProperty.cpp 512 ObjCPropertyDecl *PDecl = CreatePropertyDecl(S, CDecl, AtLoc, LParenLoc,
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 = ObjCPropertyDecl::Create(Context, DC
    [all...]
SemaDeclObjC.cpp 1192 if (ObjCProtocolDecl *PDecl = LookupProtocol((*I)->getIdentifier(),
1194 if (PDecl->getIdentifier() == PName) {
1200 if (!PDecl->hasDefinition())
1204 PDecl->getLocation(), PDecl->getReferencedProtocols()))
1221 ObjCProtocolDecl *PDecl = nullptr;
1231 PDecl = ObjCProtocolDecl::Create(Context, CurContext, ProtocolName,
1238 PushOnScopeChains(PDecl, TUScope);
1239 PDecl->startDefinition();
1251 PDecl = ObjCProtocolDecl::Create(Context, CurContext, ProtocolName
    [all...]
SemaExprObjC.cpp 1392 ObjCProtocolDecl* PDecl = LookupProtocol(ProtocolId, ProtoIdLoc);
1393 if (!PDecl) {
1397 if (PDecl->isNonRuntimeProtocol())
1399 << PDecl;
1400 if (!PDecl->hasDefinition()) {
1401 Diag(ProtoLoc, diag::err_atprotocol_protocol) << PDecl;
1402 Diag(PDecl->getLocation(), diag::note_entity_declared_at) << PDecl;
1404 PDecl = PDecl->getDefinition()
    [all...]
SemaExprMember.cpp 427 static Decl *FindGetterSetterNameDeclFromProtocolList(const ObjCProtocolDecl*PDecl,
432 if (ObjCPropertyDecl *PD = PDecl->FindPropertyDeclaration(
435 if (ObjCMethodDecl *OMD = PDecl->getInstanceMethod(Sel))
438 for (const auto *I : PDecl->protocols()) {
SemaCodeComplete.cpp 3651 const ObjCPropertyDecl *PDecl = M->findPropertyDecl();
3652 if (!PDecl)
3655 return Ctx.getRawCommentForAnyRedecl(PDecl);
3668 const ObjCPropertyDecl *PDecl = M->findPropertyDecl();
3669 if (!PDecl)
3671 if (PDecl->getGetterName() == M->getSelector() &&
3672 PDecl->getIdentifier() != M->getIdentifier()) {
3675 if (auto *RC = Ctx.getRawCommentForAnyRedecl(PDecl))
SemaDeclAttr.cpp 5473 if (const auto *PDecl = dyn_cast_or_null<ObjCProtocolDecl>(DC)) {
5476 S.Diag(PDecl->getLocation(), diag::note_protocol_decl);
7373 if (const auto *PDecl = dyn_cast<ParmVarDecl>(D)) {
7374 const Type *DeclTy = PDecl->getType().getCanonicalType().getTypePtr();
7380 << AL << PDecl->getType() << DeclTy->isImageType();
SemaExpr.cpp 15860 const ObjCProtocolDecl *PDecl = nullptr;
15998 PDecl = srcProto;
16009 PDecl = dstProto;
16102 PDecl && IFace && !IFace->hasDefinition())
16104 << IFace << PDecl;
  /src/external/apache2/llvm/dist/clang/lib/AST/
DeclPrinter.cpp 1474 void DeclPrinter::VisitObjCPropertyDecl(ObjCPropertyDecl *PDecl) {
1475 if (PDecl->getPropertyImplementation() == ObjCPropertyDecl::Required)
1477 else if (PDecl->getPropertyImplementation() == ObjCPropertyDecl::Optional)
1480 QualType T = PDecl->getType();
1483 if (PDecl->getPropertyAttributes() != ObjCPropertyAttribute::kind_noattr) {
1486 if (PDecl->getPropertyAttributes() & ObjCPropertyAttribute::kind_class) {
1491 if (PDecl->getPropertyAttributes() & ObjCPropertyAttribute::kind_direct) {
1496 if (PDecl->getPropertyAttributes() &
1501 if (PDecl->getPropertyAttributes() & ObjCPropertyAttribute::kind_atomic) {
1506 if (PDecl->getPropertyAttributes() & ObjCPropertyAttribute::kind_assign)
    [all...]
DeclObjC.cpp 1933 ObjCProtocolDecl *PDecl = this;
1936 return PDecl;
1939 if ((PDecl = I->lookupProtocolNamed(Name)))
1940 return PDecl;
1982 if (const ObjCProtocolDecl *PDecl = getDefinition()) {
1983 for (auto *Prop : PDecl->properties()) {
1991 for (const auto *PI : PDecl->protocols())
1999 if (const ObjCProtocolDecl *PDecl = getDefinition()) {
2000 if (!PS.insert(PDecl).second)
2002 for (auto *Prop : PDecl->properties())
    [all...]
ASTContext.cpp 579 if (const ObjCPropertyDecl *PDecl = OMD->findPropertyDecl())
580 if (comments::FullComment *FC = getCommentForDecl(PDecl, PP))
  /src/external/apache2/llvm/dist/clang/lib/ARCMigrate/
TransZeroOutPropsInDealloc.cpp 203 if (ObjCPropertyDecl *PDecl = PropRefExp->getExplicitProperty()) {
204 if (!SynthesizedProperties.count(PDecl))
ObjCMT.cpp 610 if (const ObjCProtocolDecl *PDecl = Protocol->getDefinition())
611 for (const auto *Property : PDecl->instance_properties()) {
637 if (const ObjCProtocolDecl *PDecl = Protocol->getDefinition()) {
638 if (PDecl->meth_begin() == PDecl->meth_end())
640 for (const auto *MD : PDecl->methods()) {
869 ObjCProtocolDecl *PDecl = ConformingProtocols[i1];
870 if (PDecl == TargetPDecl)
872 if (PDecl->lookupProtocolNamed(
1861 else if (ObjCProtocolDecl *PDecl = dyn_cast<ObjCProtocolDecl>(*D))
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
RetainCountDiagnostics.cpp 868 const Decl *PDecl = Region->getDecl();
869 if (isa_and_nonnull<ParmVarDecl>(PDecl)) {
871 PathDiagnosticLocation::create(PDecl, SMgr);
  /src/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/
RewriteModernObjC.cpp 1154 void RewriteModernObjC::RewriteProtocolDecl(ObjCProtocolDecl *PDecl) {
1155 SourceLocation LocStart = PDecl->getBeginLoc();
1156 assert(PDecl->isThisDeclarationADefinition());
1161 for (auto *I : PDecl->instance_methods())
1163 for (auto *I : PDecl->class_methods())
1165 for (auto *I : PDecl->instance_properties())
1169 SourceLocation LocEnd = PDecl->getAtEndRange().getBegin();
1291 for (const auto *PDecl : OMD->parameters()) {
1293 if (PDecl->getType()->isObjCQualifiedIdType()) {
1295 ResultStr += PDecl->getNameAsString()
    [all...]
RewriteObjC.cpp 988 void RewriteObjC::RewriteProtocolDecl(ObjCProtocolDecl *PDecl) {
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->getNameAsString()
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Analysis/
BodyFarm.cpp 407 const ParmVarDecl *PDecl = D->getParamDecl(ParamIdx);
408 assert(PDecl);
412 PDecl->getType().getNonReferenceType().getCanonicalType()) {
418 Expr *ParamExpr = M.makeDeclRefExpr(PDecl);
420 QualType PTy = PDecl->getType().getNonReferenceType();
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CodeGenModule.cpp 1573 const Decl *PDecl = parm;
1575 PDecl = TD->getDecl();
1576 const OpenCLAccessAttr *A = PDecl->getAttr<OpenCLAccessAttr>();
  /src/external/apache2/llvm/dist/clang/include/clang/Sema/
Sema.h 4378 const ObjCPropertyDecl *&PDecl) const;

Completed in 133 milliseconds