Searched refs:PD (Results 1 - 25 of 78) sorted by relevance

1234

/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Basic/
H A DPartialDiagnostic.h271 void swap(PartialDiagnostic &PD) { argument
272 std::swap(DiagID, PD.DiagID);
273 std::swap(DiagStorage, PD.DiagStorage);
274 std::swap(Allocator, PD.Allocator);
344 friend const PartialDiagnostic &operator<<(const PartialDiagnostic &PD, argument
346 PD.AddTaggedVal(I, DiagnosticsEngine::ak_uint);
347 return PD;
350 friend const PartialDiagnostic &operator<<(const PartialDiagnostic &PD, argument
352 PD.AddTaggedVal(I, DiagnosticsEngine::ak_sint);
353 return PD;
356 operator <<(const PartialDiagnostic &PD, const char *S) argument
363 operator <<(const PartialDiagnostic &PD, StringRef S) argument
370 operator <<(const PartialDiagnostic &PD, const IdentifierInfo *II) argument
385 operator <<(const PartialDiagnostic &PD, T *DC) argument
391 operator <<(const PartialDiagnostic &PD, const SourceRange &R) argument
397 operator <<(const PartialDiagnostic &PD, const CharSourceRange &R) argument
403 operator <<(const PartialDiagnostic &PD, const FixItHint &Hint) argument
411 operator <<(const DiagnosticBuilder &DB, const PartialDiagnostic &PD) argument
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DDirectIvarAssignment.cpp94 static const ObjCIvarDecl *findPropertyBackingIvar(const ObjCPropertyDecl *PD, argument
98 ObjCIvarDecl *ID = PD->getPropertyIvarDecl();
105 ID = NonConstInterD->lookupInstanceVariable(PD->getDefaultSynthIvarName(Ctx));
110 IdentifierInfo *PropIdent = PD->getIdentifier();
127 ObjCPropertyDecl *PD = *I; local
130 const ObjCIvarDecl *ID = findPropertyBackingIvar(PD, InterD,
137 IvarToPropMap[ID] = PD;
187 const ObjCPropertyDecl *PD = I->second; local
192 if (isAnnotatedToAllowDirectAssignment(PD) ||
197 InterfD->getInstanceMethod(PD
[all...]
H A DCheckObjCDealloc.cpp53 const ObjCPropertyDecl *PD,
73 if (ME->getMethodDecl() == PD->getSetterMethodDecl() &&
84 if (PRE->isExplicitProperty() && PRE->getExplicitProperty() == PD)
89 return PD->getSetterKind() != ObjCPropertyDecl::Assign;
94 if (*I && scan_ivar_release(*I, ID, PD, Release, SelfII, Ctx))
230 const ObjCPropertyDecl *PD = I->getPropertyDecl(); local
231 if (!PD)
235 if (PD->isReadOnly())
239 bool requiresRelease = PD->getSetterKind() != ObjCPropertyDecl::Assign;
240 if (scan_ivar_release(MD->getBody(), ID, PD, R
52 scan_ivar_release(Stmt *S, ObjCIvarDecl *ID, const ObjCPropertyDecl *PD, Selector Release, IdentifierInfo* SelfII, ASTContext &Ctx) argument
[all...]
H A DIvarInvalidationChecker.cpp365 const ObjCPropertyDecl *PD = IvarToPopertyMap.lookup(IvarDecl); local
366 assert(PD &&"Do we synthesize ivars for something other than properties?");
367 os << "Property "<< PD->getName() << " ";
404 const ObjCPropertyDecl *PD = I->second; local
406 const ObjCIvarDecl *ID = findPropertyBackingIvar(PD, InterfaceD, Ivars,
412 PD = cast<ObjCPropertyDecl>(PD->getCanonicalDecl());
413 PropertyToIvarMap[PD] = ID;
414 IvarToPopertyMap[ID] = PD;
417 const ObjCMethodDecl *SetterD = PD
633 const ObjCPropertyDecl *PD = PA->getExplicitProperty(); local
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Sema/
H A DTemplateDeduction.h67 void takeSFINAEDiagnostic(PartialDiagnosticAt &PD) { argument
69 PD.first = SuppressedDiagnostics.front().first;
70 PD.second.swap(SuppressedDiagnostics.front().second);
87 void addSFINAEDiagnostic(SourceLocation Loc, PartialDiagnostic PD) { argument
94 SuppressedDiagnostics.back().second.swap(PD);
100 PartialDiagnostic PD) {
105 SuppressedDiagnostics.back().second.swap(PD);
99 addSuppressedDiagnostic(SourceLocation Loc, PartialDiagnostic PD) argument
H A DScopeInfo.h70 PartialDiagnostic PD; member in class:clang::sema::PossiblyUnreachableDiag
74 PossiblyUnreachableDiag(const PartialDiagnostic &PD, SourceLocation Loc, argument
76 : PD(PD), Loc(Loc), stmt(stmt) {}
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DBugReporter.cpp501 static bool GenerateVisitorsOnlyPathDiagnostic(PathDiagnostic &PD, argument
558 static bool GenerateMinimalPathDiagnostic(PathDiagnostic& PD, argument
584 PD.getActivePath().push_front(C);
585 PD.pushActivePath(&C->path);
592 bool VisitedEntireCall = PD.isWithinCall();
593 PD.popActivePath();
602 C = cast<PathDiagnosticCallPiece>(PD.getActivePath().front());
605 C = PathDiagnosticCallPiece::construct(PD.getActivePath(), Caller);
647 PD.getActivePath().push_front(new PathDiagnosticControlFlowPiece(
699 PD
972 PathDiagnostic &PD; member in class:__anon3487::EdgeBuilder
1394 GenerateExtensivePathDiagnostic(PathDiagnostic& PD, PathDiagnosticBuilder &PDB, const ExplodedNode *N, LocationContextMap &LCM, ArrayRef<BugReporterVisitor *> visitors) argument
1638 GenerateAlternateExtensivePathDiagnostic(PathDiagnostic& PD, PathDiagnosticBuilder &PDB, const ExplodedNode *N, LocationContextMap &LCM, ArrayRef<BugReporterVisitor *> visitors) argument
3082 generatePathDiagnostic(PathDiagnostic& PD, PathDiagnosticConsumer &PC, ArrayRef<BugReport *> &bugReports) argument
3414 FlushReport(BugReport *exampleReport, PathDiagnosticConsumer &PD, ArrayRef<BugReport*> bugReports) argument
[all...]
/freebsd-9.3-release/contrib/llvm/lib/MC/
H A DMCSubtargetInfo.cpp44 const SubtargetFeatureKV *PD,
55 ProcDesc = PD;
42 InitMCSubtargetInfo(StringRef TT, StringRef CPU, StringRef FS, const SubtargetFeatureKV *PF, const SubtargetFeatureKV *PD, const SubtargetInfoKV *ProcSched, const MCWriteProcResEntry *WPR, const MCWriteLatencyEntry *WL, const MCReadAdvanceEntry *RA, const InstrStage *IS, const unsigned *OC, const unsigned *FP, unsigned NF, unsigned NP) argument
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DTransGCAttrs.cpp245 ObjCPropertyDecl *PD = *PI; local
246 Attrs = PD->getPropertyAttributesAsWritten();
247 TypeSourceInfo *TInfo = PD->getTypeSourceInfo();
253 ATLs.push_back(std::make_pair(ATL, PD));
309 ObjCPropertyDecl *PD = AllProps[i]; local
310 if (PD->getPropertyAttributesAsWritten() &
313 SourceLocation AtLoc = PD->getAtLoc();
317 AtProps[RawAt].push_back(PD);
H A DTransZeroOutPropsInDealloc.cpp121 ObjCPropertyDecl *PD = PID->getPropertyDecl(); local
122 ObjCMethodDecl *setterM = PD->getSetterMethodDecl();
125 PD->getPropertyAttributes();
130 SynthesizedProperties[PD] = PID;
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGObjCMac.cpp922 llvm::Constant *GetPropertyTypeString(const ObjCPropertyDecl *PD,
1000 llvm::Constant *GetProtocolRef(const ObjCProtocolDecl *PD);
1046 virtual void GenerateProtocol(const ObjCProtocolDecl *PD);
1051 virtual llvm::Constant *GetOrEmitProtocol(const ObjCProtocolDecl *PD)=0;
1057 virtual llvm::Constant *GetOrEmitProtocolRef(const ObjCProtocolDecl *PD)=0;
1148 virtual llvm::Constant *GetOrEmitProtocol(const ObjCProtocolDecl *PD);
1154 virtual llvm::Constant *GetOrEmitProtocolRef(const ObjCProtocolDecl *PD);
1161 EmitProtocolExtension(const ObjCProtocolDecl *PD,
1223 const ObjCProtocolDecl *PD);
1344 virtual llvm::Constant *GetOrEmitProtocol(const ObjCProtocolDecl *PD);
2536 GenerateProtocolRef(CodeGenFunction &CGF, const ObjCProtocolDecl *PD) argument
2546 GenerateProtocol(const ObjCProtocolDecl *PD) argument
2558 GetProtocolRef(const ObjCProtocolDecl *PD) argument
2577 GetOrEmitProtocol(const ObjCProtocolDecl *PD) argument
2669 GetOrEmitProtocolRef(const ObjCProtocolDecl *PD) argument
2699 EmitProtocolExtension(const ObjCProtocolDecl *PD, ArrayRef<llvm::Constant*> OptInstanceMethods, ArrayRef<llvm::Constant*> OptClassMethods, ArrayRef<llvm::Constant*> MethodTypesExt) argument
2785 const ObjCPropertyDecl *PD = *I; local
2816 const ObjCPropertyDecl *PD = *I; local
3092 ObjCPropertyDecl *PD = PID->getPropertyDecl(); local
4963 GetPropertyTypeString(const ObjCPropertyDecl *PD, const Decl *Container) argument
5689 ObjCPropertyDecl *PD = PID->getPropertyDecl(); local
5942 GenerateProtocolRef(CodeGenFunction &CGF, const ObjCProtocolDecl *PD) argument
6237 GetOrEmitProtocolRef( const ObjCProtocolDecl *PD) argument
6274 GetOrEmitProtocol( const ObjCProtocolDecl *PD) argument
[all...]
H A DCGDebugInfo.cpp1541 /// \return true if Getter has the default name for the property PD.
1542 static bool hasDefaultGetterName(const ObjCPropertyDecl *PD, argument
1544 assert(PD);
1549 return PD->getName() ==
1553 /// \return true if Setter has the default name for the property PD.
1554 static bool hasDefaultSetterName(const ObjCPropertyDecl *PD, argument
1556 assert(PD);
1561 return SelectorTable::constructSetterName(PD->getName()) ==
1630 const ObjCPropertyDecl *PD = *I; local
1631 SourceLocation Loc = PD
[all...]
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);
1734 const ObjCProtocolDecl *PD) {
1735 llvm::Value *protocol = ExistingProtocols[PD->getNameAsString()];
1773 void CGObjCGNU::GenerateProtocol(const ObjCProtocolDecl *PD) { argument
1775 std::string ProtocolName = PD
1733 GenerateProtocolRef(CodeGenFunction &CGF, const ObjCProtocolDecl *PD) argument
[all...]
/freebsd-9.3-release/contrib/cvs/doc/
H A Dmkman.pl153 print qq{.SP\n.PD 0\n};
162 print qq{\n.PD\n.IP "" $indent\n};
/freebsd-9.3-release/contrib/llvm/include/llvm/MC/
H A DMCSubtargetInfo.h51 const SubtargetFeatureKV *PD,
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Frontend/
H A DAnalysisConsumer.cpp120 const PathDiagnostic *PD = *I; local
121 StringRef desc = PD->getShortDescription();
133 SourceLocation L = PD->getLocation().asLocation();
134 emitDiag(L, ErrorDiag, PD->path.back()->getRanges());
139 PathPieces FlatPath = PD->path.flatten(/*ShouldFlattenMacros=*/true);
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReaderDecl.cpp264 void VisitImplicitParamDecl(ImplicitParamDecl *PD);
265 void VisitParmVarDecl(ParmVarDecl *PD);
805 void ASTDeclReader::VisitObjCProtocolDecl(ObjCProtocolDecl *PD) { argument
806 RedeclarableResult Redecl = VisitRedeclarable(PD);
807 VisitObjCContainerDecl(PD);
808 mergeRedeclarable(PD, Redecl);
812 PD->allocateDefinitionData();
816 PD->getCanonicalDecl()->Data = PD->Data;
827 PD
939 VisitMSPropertyDecl(MSPropertyDecl *PD) argument
1012 VisitImplicitParamDecl(ImplicitParamDecl *PD) argument
1016 VisitParmVarDecl(ParmVarDecl *PD) argument
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/AST/
H A DDeclarationName.h553 inline const PartialDiagnostic &operator<<(const PartialDiagnostic &PD, argument
555 PD.AddTaggedVal(N.getAsOpaqueInteger(),
557 return PD;
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Lex/
H A DPreprocessingRecord.h130 static bool classof(const PreprocessedEntity *PD) { argument
131 return PD->getKind() >= FirstPreprocessingDirective &&
132 PD->getKind() <= LastPreprocessingDirective;
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Index/
H A DUSRGeneration.cpp201 if (ParmVarDecl *PD = *I)
202 VisitType(PD->getType());
370 if (ObjCPropertyDecl *PD = D->getPropertyDecl()) {
371 VisitObjCPropertyDecl(PD);
/freebsd-9.3-release/usr.sbin/makefs/cd9660/
H A Diso9660_rrip.h192 ISO_SUSP_PD PD; member in union:__anon10926
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaAccess.cpp1630 PartialDiagnostic PD(PDiag());
1633 PD = PDiag(IsCopyBindingRefToTemp
1640 PD = PDiag(diag::err_access_base_ctor);
1641 PD << Entity.isInheritedVirtualBase()
1647 PD = PDiag(diag::err_access_field_ctor);
1648 PD << Field->getType() << getSpecialMember(Constructor);
1654 PD = PDiag(diag::err_access_lambda_capture);
1655 PD << VarName << Entity.getType() << getSpecialMember(Constructor);
1661 return CheckConstructorAccess(UseLoc, Constructor, Entity, Access, PD);
1669 const PartialDiagnostic &PD) {
1665 CheckConstructorAccess(SourceLocation UseLoc, CXXConstructorDecl *Constructor, const InitializedEntity &Entity, AccessSpecifier Access, const PartialDiagnostic &PD) argument
[all...]
H A DSemaExprMember.cpp382 if (ObjCPropertyDecl *PD = PDecl->FindPropertyDeclaration(Member))
383 return PD;
405 if (ObjCPropertyDecl *PD = (*I)->FindPropertyDeclaration(Member)) {
406 GDecl = PD;
841 MSPropertyDecl *PD,
845 return new (S.Context) MSPropertyRefExpr(BaseExpr, PD, IsArrow,
1055 if (MSPropertyDecl *PD = dyn_cast<MSPropertyDecl>(MemberDecl))
1056 return BuildMSPropertyRefExpr(*this, BaseExpr, IsArrow, SS, PD,
1419 if (ObjCPropertyDecl *PD = dyn_cast<ObjCPropertyDecl>(PMDecl)) {
1421 if (DiagnoseUseOfDecl(PD, MemberLo
839 BuildMSPropertyRefExpr(Sema &S, Expr *BaseExpr, bool IsArrow, const CXXScopeSpec &SS, MSPropertyDecl *PD, const DeclarationNameInfo &NameInfo) argument
[all...]
H A DSema.cpp957 Sema::Diag(SourceLocation Loc, const PartialDiagnostic& PD) { argument
958 SemaDiagnosticBuilder Builder(Diag(Loc, PD.getDiagID()));
959 PD.Emit(Builder);
1061 Diag(D.Loc, D.PD);
1335 bool Sema::tryToRecoverWithCall(ExprResult &E, const PartialDiagnostic &PD, argument
1351 Diag(Loc, PD)
1367 Diag(Loc, PD) << /*not zero-arg*/ 0 << Range;
/freebsd-9.3-release/contrib/llvm/tools/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;

Completed in 246 milliseconds

1234