Searched refs:PD (Results 26 - 50 of 72) sorted by relevance

123

/external/clang/lib/Sema/
H A DSemaExprMember.cpp400 if (ObjCPropertyDecl *PD = PDecl->FindPropertyDeclaration(Member))
401 return PD;
423 if (ObjCPropertyDecl *PD = (*I)->FindPropertyDeclaration(Member)) {
424 GDecl = PD;
839 MSPropertyDecl *PD,
843 return new (S.Context) MSPropertyRefExpr(BaseExpr, PD, IsArrow,
1006 if (MSPropertyDecl *PD = dyn_cast<MSPropertyDecl>(MemberDecl))
1007 return BuildMSPropertyRefExpr(*this, BaseExpr, IsArrow, SS, PD,
1369 if (ObjCPropertyDecl *PD = dyn_cast<ObjCPropertyDecl>(PMDecl)) {
1371 if (DiagnoseUseOfDecl(PD, MemberLo
837 BuildMSPropertyRefExpr(Sema &S, Expr *BaseExpr, bool IsArrow, const CXXScopeSpec &SS, MSPropertyDecl *PD, const DeclarationNameInfo &NameInfo) argument
[all...]
H A DSema.cpp931 Sema::Diag(SourceLocation Loc, const PartialDiagnostic& PD) { argument
932 SemaDiagnosticBuilder Builder(Diag(Loc, PD.getDiagID()));
933 PD.Emit(Builder);
1026 Diag(D.Loc, D.PD);
1290 bool Sema::tryToRecoverWithCall(ExprResult &E, const PartialDiagnostic &PD, argument
1307 Diag(Loc, PD)
1323 Diag(Loc, PD) << /*not zero-arg*/ 0 << Range;
H A DSemaTemplateInstantiate.cpp865 ExprResult RebuildParmVarDeclRefExpr(ParmVarDecl *PD, SourceLocation Loc);
869 ParmVarDecl *PD);
1291 TemplateInstantiator::RebuildParmVarDeclRefExpr(ParmVarDecl *PD, argument
1293 DeclarationNameInfo NameInfo(PD->getDeclName(), Loc);
1294 return getSema().BuildDeclarationNameExpr(CXXScopeSpec(), NameInfo, PD);
1332 ParmVarDecl *PD) {
1335 = getSema().CurrentInstantiationScope->findInstantiationOf(PD);
1346 return FunctionParmPackExpr::Create(getSema().Context, T, PD,
1375 if (ParmVarDecl *PD = dyn_cast<ParmVarDecl>(D))
1376 if (PD
1331 TransformFunctionParmPackRefExpr(DeclRefExpr *E, ParmVarDecl *PD) argument
[all...]
H A DSemaObjCProperty.cpp1842 const ObjCPropertyDecl *PD = PID->getPropertyDecl(); local
1843 if (PD && !PD->hasAttr<NSReturnsNotRetainedAttr>() &&
1844 !D->getInstanceMethod(PD->getGetterName())) {
1845 ObjCMethodDecl *method = PD->getGetterMethodDecl();
1855 Diag(PD->getLocation(), diag::note_property_declare);
H A DSemaExprObjC.cpp1507 if (ObjCPropertyDecl *PD = IFace->FindPropertyDeclaration(Member)) {
1509 if (DiagnoseUseOfDecl(PD, MemberLoc))
1512 return Owned(new (Context) ObjCPropertyRefExpr(PD, Context.PseudoObjectTy,
1517 return Owned(new (Context) ObjCPropertyRefExpr(PD, Context.PseudoObjectTy,
1524 if (ObjCPropertyDecl *PD = (*I)->FindPropertyDeclaration(Member)) {
1526 if (DiagnoseUseOfDecl(PD, MemberLoc))
1530 return Owned(new (Context) ObjCPropertyRefExpr(PD,
1537 return Owned(new (Context) ObjCPropertyRefExpr(PD,
H A DSemaDeclAttr.cpp1075 else if (const ObjCPropertyDecl *PD = dyn_cast<ObjCPropertyDecl>(D)) {
1076 if (!PD->getType()->getAs<ObjCObjectPointerType>()) {
1078 << Attr.getName() << PD->getType() << 1;
2429 else if (ObjCPropertyDecl *PD = dyn_cast<ObjCPropertyDecl>(D)) {
2430 QualType T = PD->getType();
2432 S.Diag(PD->getLocation(), diag::err_nsobject_attribute);
4301 else if (ObjCPropertyDecl *PD = dyn_cast<ObjCPropertyDecl>(D))
4302 returnType = PD->getType();
5180 /// ProcessDeclAttributes - Given a declarator (PD) with attributes indicated in
5181 /// it, apply them to D. This is a bit tricky because PD ca
5183 ProcessDeclAttributes(Scope *S, Decl *D, const Declarator &PD, bool NonInheritable, bool Inheritable) argument
[all...]
H A DAnalysisBasedWarnings.cpp1452 S.Diag(D.Loc, D.PD);
1554 S.Diag(D.Loc, D.PD);
1560 S.Diag(D.Loc, D.PD);
H A DSemaDeclCXX.cpp713 const ParmVarDecl *PD = FD->getParamDecl(ArgIndex); local
714 SourceLocation ParamLoc = PD->getLocation();
718 ArgIndex+1, PD->getSourceRange(),
2850 ParmVarDecl *PD = Constructor->getParamDecl(I); local
2852 SemaRef.BuildDeclRefExpr(PD, PD->getType().getNonReferenceType(),
2856 Args.push_back(CastForMoving(SemaRef, ArgExpr.take(), PD->getType()));
5629 PartialDiagnostic PD = PDiag( local
5631 HandleFunctionTypeMismatch(PD, MD->getType(), overloadedMD->getType());
5632 Diag(overloadedMD->getLocation(), PD);
8124 const ParmVarDecl *PD = Ctor->getParamDecl(0); local
8210 ParmVarDecl *PD = ParmVarDecl::Create( local
[all...]
/external/clang/tools/libclang/
H A DIndexingContext.cpp29 ObjCProtocolDecl *PD = *I; local
31 IdxCtx.getEntityInfo(PD, ProtEntities.back(), SA);
33 MakeCursorObjCProtocolRef(PD, Loc, IdxCtx.CXTU),
38 IdxCtx.markEntityOccurrenceInFile(PD, Loc);
591 ObjCPropertyDecl *PD = D->getPropertyDecl(); local
592 return handleReference(PD, D->getLocation(), getCursor(D), 0, D->getDeclContext());
1132 if (const ObjCProtocolDecl *PD = dyn_cast<ObjCProtocolDecl>(D))
1133 return MakeCursorObjCProtocolRef(PD, Loc, CXTU);
H A DCIndexUSRs.cpp208 if (ParmVarDecl *PD = *I)
209 VisitType(PD->getType());
377 if (ObjCPropertyDecl *PD = D->getPropertyDecl()) {
378 VisitObjCPropertyDecl(PD);
H A DCIndex.cpp623 ObjCProtocolDecl *PD = cast<ObjCProtocolDecl>(D); local
624 if (!PD->isThisDeclarationADefinition())
625 Cursor = MakeCursorObjCProtocolRef(PD, PD->getLocation(), TU);
1044 bool CursorVisitor::VisitObjCPropertyDecl(ObjCPropertyDecl *PD) { argument
1045 if (PD->getTypeSourceInfo() && Visit(PD->getTypeSourceInfo()->getTypeLoc()))
1051 ObjCCategoryDecl *CDecl = dyn_cast<ObjCCategoryDecl>(PD->getDeclContext());
1059 IdentifierInfo *PropertyId = PD->getIdentifier();
1130 bool CursorVisitor::VisitObjCPropertyImplDecl(ObjCPropertyImplDecl *PD) { argument
6005 const ObjCPropertyDecl *PD = dyn_cast<ObjCPropertyDecl>(getCursorDecl(C)); local
[all...]
H A DCXType.cpp162 if (const ObjCPropertyDecl *PD = dyn_cast<ObjCPropertyDecl>(D))
163 return MakeCXType(PD->getType(), TU);
/external/clang/lib/AST/
H A DDeclObjC.cpp153 if (const ObjCProtocolDecl *PD = dyn_cast<ObjCProtocolDecl>(this))
154 for (ObjCProtocolDecl::protocol_iterator PI = PD->protocol_begin(),
155 E = PD->protocol_end(); PI != E; ++PI) {
176 if (ObjCPropertyDecl *PD = dyn_cast<ObjCPropertyDecl>(*I))
177 return PD;
203 if (ObjCPropertyDecl *PD =
205 return PD;
273 if (ObjCPropertyDecl *PD =
275 return PD;
H A DASTContext.cpp4909 void ASTContext::getObjCEncodingForPropertyDecl(const ObjCPropertyDecl *PD, argument
4924 if (PID->getPropertyDecl() == PD) {
4938 if (PID->getPropertyDecl() == PD) {
4955 getObjCEncodingForTypeImpl(PD->getType(), S, true, true, 0,
4959 if (PD->isReadOnly()) {
4961 if (PD->getPropertyAttributes() & ObjCPropertyDecl::OBJC_PR_copy)
4963 if (PD->getPropertyAttributes() & ObjCPropertyDecl::OBJC_PR_retain)
4966 switch (PD->getSetterKind()) {
4979 if (PD->getPropertyAttributes() & ObjCPropertyDecl::OBJC_PR_nonatomic)
4982 if (PD
[all...]
/external/clang/lib/CodeGen/
H A DCGObjCGNU.cpp226 llvm::Constant *MakePropertyEncodingString(const ObjCPropertyDecl *PD, argument
233 CGM.getContext().getObjCEncodingForPropertyDecl(PD, Container, TypeStr);
238 NameAndAttributes += PD->getNameAsString();
243 return MakeConstantString(PD->getNameAsString());
518 const ObjCProtocolDecl *PD);
519 virtual void GenerateProtocol(const ObjCProtocolDecl *PD);
1736 const ObjCProtocolDecl *PD) {
1737 llvm::Value *protocol = ExistingProtocols[PD->getNameAsString()];
1775 void CGObjCGNU::GenerateProtocol(const ObjCProtocolDecl *PD) { argument
1777 std::string ProtocolName = PD
1735 GenerateProtocolRef(CodeGenFunction &CGF, const ObjCProtocolDecl *PD) argument
[all...]
H A DCGObjC.cpp746 const ObjCPropertyDecl *PD = PID->getPropertyDecl(); local
747 ObjCMethodDecl *OMD = PD->getGetterMethodDecl();
1272 const ObjCPropertyDecl *PD = PID->getPropertyDecl(); local
1273 ObjCMethodDecl *OMD = PD->getSetterMethodDecl();
2864 const ObjCPropertyDecl *PD = PID->getPropertyDecl(); local
2865 if ((!(PD->getPropertyAttributes() & ObjCPropertyDecl::OBJC_PR_atomic)))
2943 const ObjCPropertyDecl *PD = PID->getPropertyDecl(); local
2944 QualType Ty = PD->getType();
2947 if ((!(PD->getPropertyAttributes() & ObjCPropertyDecl::OBJC_PR_atomic)))
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DBugReporter.h403 PathDiagnosticConsumer &PD,
521 virtual bool generatePathDiagnostic(PathDiagnostic &PD,
H A DPathDiagnostic.h75 void addDiagnostic(const PathDiagnostic &PD,
79 PDFileEntry::ConsumerFiles *getFiles(const PathDiagnostic &PD);
/external/clang/lib/ARCMigrate/
H A DTransUnbridgedCasts.cpp434 ParmVarDecl *PD = FD->getParamDecl(i); local
435 if (PD->getAttr<CFConsumedAttr>()) {
/external/clang/lib/Rewrite/Frontend/
H A DRewriteObjC.cpp673 } else if (ObjCProtocolDecl *PD = dyn_cast<ObjCProtocolDecl>(D)) {
674 if (PD->isThisDeclarationADefinition())
675 RewriteProtocolDecl(PD);
786 ObjCPropertyDecl *PD = PID->getPropertyDecl();
791 unsigned Attributes = PD->getPropertyAttributes();
792 if (!PD->getGetterMethodDecl()->isDefined()) {
804 PD->getGetterMethodDecl(), Getr);
812 RewriteTypeIntoString(PD->getGetterMethodDecl()->getResultType(), Getr,
847 if (PD->isReadOnly() || PD
5480 ObjCPropertyDecl *PD = Prop->getPropertyDecl(); local
5762 ObjCPropertyDecl *PD = Prop->getPropertyDecl(); local
[all...]
H A DRewriteModernObjC.cpp733 } else if (ObjCProtocolDecl *PD = dyn_cast<ObjCProtocolDecl>(D)) {
734 if (PD->isThisDeclarationADefinition())
735 RewriteProtocolDecl(PD);
910 ObjCPropertyDecl *PD,
912 return getter ? !IMP->getInstanceMethod(PD->getGetterName())
913 : !IMP->getInstanceMethod(PD->getSetterName());
940 ObjCPropertyDecl *PD = PID->getPropertyDecl();
944 unsigned Attributes = PD->getPropertyAttributes();
945 if (mustSynthesizeSetterGetterMethod(IMD, PD, true /*getter*/)) {
957 PD
909 mustSynthesizeSetterGetterMethod(ObjCImplementationDecl *IMP, ObjCPropertyDecl *PD, bool getter) argument
7303 ObjCPropertyDecl *PD = Prop->getPropertyDecl(); local
7564 ObjCPropertyDecl *PD = Prop->getPropertyDecl(); local
[all...]
/external/clang/include/clang/AST/
H A DExprObjC.h558 ObjCPropertyRefExpr(ObjCPropertyDecl *PD, QualType t, argument
565 PropertyOrGetter(PD, false), SetterAndMethodRefFlags(),
570 ObjCPropertyRefExpr(ObjCPropertyDecl *PD, QualType t, argument
576 PropertyOrGetter(PD, false), SetterAndMethodRefFlags(),
H A DDecl.h3418 inline const PartialDiagnostic &operator<<(const PartialDiagnostic &PD,
3420 PD.AddTaggedVal(reinterpret_cast<intptr_t>(ND),
3422 return PD;
/external/clang/lib/StaticAnalyzer/Core/
H A DPathDiagnostic.cpp462 void PathDiagnosticConsumer::FilesMade::addDiagnostic(const PathDiagnostic &PD, argument
466 NodeID.Add(PD);
485 PathDiagnosticConsumer::FilesMade::getFiles(const PathDiagnostic &PD) { argument
487 NodeID.Add(PD);
/external/llvm/lib/Target/Hexagon/
H A DHexagonHardwareLoops.cpp1460 const MCInstrDesc &PD = TII->get(TargetOpcode::PHI); local
1461 MachineInstr *NewPN = MF->CreateMachineInstr(PD, DL);

Completed in 733 milliseconds

123