/freebsd-9.3-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
H A D | DynamicTypePropagation.cpp | 86 if (const CXXDestructorCall *Dtor = dyn_cast<CXXDestructorCall>(&Call)) { 88 if (!Dtor->isBaseDestructor()) 91 const MemRegion *Target = Dtor->getCXXThisVal().getAsRegion(); 95 const Decl *D = Dtor->getDecl();
|
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/CodeGen/ |
H A D | CGClass.cpp | 1248 const CXXDestructorDecl *Dtor) { 1249 if (!Dtor->hasTrivialBody()) 1253 const CXXRecordDecl *ClassDecl = Dtor->getParent(); 1267 const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CurGD.getDecl()); local 1275 EnterDtorCleanups(Dtor, Dtor_Deleting); 1276 EmitCXXDestructorCall(Dtor, Dtor_Complete, /*ForVirtualBase=*/false, 1282 Stmt *Body = Dtor->getBody(); 1306 EnterDtorCleanups(Dtor, Dtor_Complete); 1309 EmitCXXDestructorCall(Dtor, Dtor_Base, /*ForVirtualBase=*/false, 1319 EnterDtorCleanups(Dtor, Dtor_Bas 1247 CanSkipVTablePointerInitialization(ASTContext &Context, const CXXDestructorDecl *Dtor) argument 1372 const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CGF.CurCodeDecl); local 1395 const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CGF.CurCodeDecl); local 1785 const CXXDestructorDecl *Dtor; member in struct:__anon3074::CallDelegatingCtorDtor 1854 const CXXDestructorDecl *Dtor; member in struct:__anon3075::CallLocalDtor [all...] |
H A D | CGCXXABI.h | 249 /// 'this' if HasThisReturn(GlobalDecl(Dtor, T)) is true or 'void' otherwise 251 virtual void BuildDestructorSignature(const CXXDestructorDecl *Dtor, 259 virtual bool useThunkForDtorVariant(const CXXDestructorDecl *Dtor, 343 const CXXDestructorDecl *Dtor,
|
H A D | ItaniumCXXABI.cpp | 124 void BuildDestructorSignature(const CXXDestructorDecl *Dtor, 129 bool useThunkForDtorVariant(const CXXDestructorDecl *Dtor, argument 170 const CXXDestructorDecl *Dtor, 832 void ItaniumCXXABI::BuildDestructorSignature(const CXXDestructorDecl *Dtor, argument 839 // HasThisReturn(GlobalDecl(Dtor, Type)) is true 842 if (Type == Dtor_Base && Dtor->getParent()->getNumVBases() != 0) 1049 const CXXDestructorDecl *Dtor, 1056 = &CGM.getTypes().arrangeCXXDestructor(Dtor, DtorType); 1059 getVirtualFunctionPointer(CGF, GlobalDecl(Dtor, DtorType), This, Ty); 1061 CGF.EmitCXXMemberCall(Dtor, CallLo 1048 EmitVirtualDestructorCall(CodeGenFunction &CGF, const CXXDestructorDecl *Dtor, CXXDtorType DtorType, SourceLocation CallLoc, llvm::Value *This) argument [all...] |
H A D | CGExprCXX.cpp | 162 if (const CXXDestructorDecl *Dtor = dyn_cast<CXXDestructorDecl>(CalleeDecl)) 163 FInfo = &CGM.getTypes().arrangeCXXDestructor(Dtor, 182 if (const CXXDestructorDecl *Dtor = dyn_cast<CXXDestructorDecl>(MD)) { 187 CGM.getCXXABI().EmitVirtualDestructorCall(*this, Dtor, Dtor_Complete, 195 Callee = CGM.GetAddrOfCXXDestructor(Dtor, Dtor_Complete, FInfo, Ty); 1336 const CXXDestructorDecl *Dtor = 0; local 1340 Dtor = RD->getDestructor(); 1342 if (Dtor->isVirtual()) { 1359 CGF.CGM.getCXXABI().EmitVirtualDestructorCall(CGF, Dtor, DtorType, 1377 if (Dtor) [all...] |
H A D | CGException.cpp | 468 llvm::Constant *Dtor = 0; local 473 Dtor = CGM.GetAddrOfCXXDestructor(DtorD, Dtor_Complete); 474 Dtor = llvm::ConstantExpr::getBitCast(Dtor, Int8PtrTy); 477 if (!Dtor) Dtor = llvm::Constant::getNullValue(Int8PtrTy); 479 llvm::Value *args[] = { ExceptionPtr, TypeInfo, Dtor };
|
H A D | MicrosoftCXXABI.cpp | 109 void BuildDestructorSignature(const CXXDestructorDecl *Dtor, 115 bool useThunkForDtorVariant(const CXXDestructorDecl *Dtor, argument 177 const CXXDestructorDecl *Dtor, 566 void MicrosoftCXXABI::BuildDestructorSignature(const CXXDestructorDecl *Dtor, argument 939 const CXXDestructorDecl *Dtor, 947 GlobalDecl GD(Dtor, Dtor_Deleting); 949 &CGM.getTypes().arrangeCXXDestructor(Dtor, Dtor_Deleting); 959 CGF.EmitCXXMemberCall(Dtor, CallLoc, Callee, ReturnValueSlot(), This, 938 EmitVirtualDestructorCall(CodeGenFunction &CGF, const CXXDestructorDecl *Dtor, CXXDtorType DtorType, SourceLocation CallLoc, llvm::Value *This) argument
|
H A D | CGDecl.cpp | 379 const CXXDestructorDecl *Dtor, 381 : Dtor(Dtor), NRVOFlag(NRVOFlag), Loc(addr) {} 383 const CXXDestructorDecl *Dtor; member in struct:__anon3079::DestroyNRVOVariable 401 CGF.EmitCXXDestructorCall(Dtor, Dtor_Complete, 378 DestroyNRVOVariable(llvm::Value *addr, const CXXDestructorDecl *Dtor, llvm::Value *NRVOFlag) argument
|
H A D | CodeGenModule.h | 1083 void AddGlobalDtor(llvm::Function *Dtor, int Priority=65535);
|
H A D | CodeGenFunction.h | 421 void PushDestructorCleanup(const CXXDestructorDecl *Dtor, 1206 void EnterDtorCleanups(const CXXDestructorDecl *Dtor, CXXDtorType Type);
|
H A D | CodeGenModule.cpp | 547 void CodeGenModule::AddGlobalDtor(llvm::Function * Dtor, int Priority) { argument 549 GlobalDtors.push_back(std::make_pair(Dtor, Priority));
|
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
H A D | ExprEngineCallAndReturn.cpp | 657 const CXXDestructorCall &Dtor = cast<CXXDestructorCall>(Call); local 660 const MemRegion *Target = Dtor.getCXXThisVal().getAsRegion(); 726 const CXXDestructorDecl *Dtor = dyn_cast<CXXDestructorDecl>(FD); local 727 if (!Dtor) 730 const CXXRecordDecl *RD = Dtor->getParent();
|
H A D | CallEvent.cpp | 973 const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CalleeCtx->getDecl()); local 974 Loc ThisPtr = SVB.getCXXThis(Dtor, CalleeCtx); 983 Trigger = Dtor->getBody(); 985 return getCXXDestructorCall(Dtor, Trigger, ThisVal.getAsRegion(),
|
H A D | PathDiagnostic.cpp | 558 const CFGAutomaticObjDtor &Dtor = Source.castAs<CFGAutomaticObjDtor>(); local 559 return PathDiagnosticLocation::createEnd(Dtor.getTriggerStmt(), 563 const CFGDeleteDtor &Dtor = Source.castAs<CFGDeleteDtor>(); local 564 return PathDiagnosticLocation(Dtor.getDeleteExpr(), SM, CallerCtx);
|
H A D | ExprEngine.cpp | 550 void ExprEngine::ProcessAutomaticObjDtor(const CFGAutomaticObjDtor Dtor, argument 553 const VarDecl *varDecl = Dtor.getVarDecl(); 565 VisitCXXDestructor(varType, Region, Dtor.getTriggerStmt(), /*IsBase=*/ false, 569 void ExprEngine::ProcessDeleteDtor(const CFGDeleteDtor Dtor, argument 574 const CXXDeleteExpr *DE = Dtor.getDeleteExpr(); 584 const CXXDestructorDecl *Dtor = RD->getDestructor(); local 586 PostImplicitCall PP(Dtor, DE->getLocStart(), LCtx);
|
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Analysis/ |
H A D | LiveVariables.cpp | 476 if (Optional<CFGAutomaticObjDtor> Dtor = 478 val.liveDecls = DSetFact.add(val.liveDecls, Dtor->getVarDecl());
|
H A D | CFG.cpp | 853 const CXXDestructorDecl *Dtor = Ty->getAsCXXRecordDecl()->getDestructor(); local 854 if (Dtor->isNoReturn()) 3322 const CXXDestructorDecl *Dtor = E->getTemporary()->getDestructor(); local 3323 if (Dtor->isNoReturn())
|
H A D | ThreadSafety.cpp | 2091 bool Dtor = isa<CXXDestructorDecl>(D); local 2093 Analyzer->removeLock(FSet, LocksToRemove[i], Loc, Dtor);
|
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Sema/ |
H A D | SemaAccess.cpp | 1599 CXXDestructorDecl *Dtor, 1606 AccessSpecifier Access = Dtor->getAccess(); 1610 CXXRecordDecl *NamingClass = Dtor->getParent(); 1614 DeclAccessPair::make(Dtor, Access), 1598 CheckDestructorAccess(SourceLocation Loc, CXXDestructorDecl *Dtor, const PartialDiagnostic &PDiag, QualType ObjectTy) argument
|
H A D | SemaType.cpp | 5343 CXXDestructorDecl *Dtor = RD->getDestructor(); local 5344 assert(Dtor && "class has literal fields and bases but no dtor?"); 5345 if (!Dtor) 5348 Diag(Dtor->getLocation(), Dtor->isUserProvided() ? 5351 if (!Dtor->isUserProvided()) 5352 SpecialMemberIsTrivial(Dtor, CXXDestructor, /*Diagnose*/true);
|
H A D | SemaDeclCXX.cpp | 3459 if (CXXDestructorDecl *Dtor = LookupDestructor(Constructor->getParent())) { 3460 MarkFunctionReferenced(Initializer->getSourceLocation(), Dtor); 3461 DiagnoseUseOfDecl(Dtor, Initializer->getSourceLocation()); 3931 CXXDestructorDecl *Dtor = LookupDestructor(FieldClassDecl); local 3932 assert(Dtor && "No dtor found for FieldClassDecl!"); 3933 CheckDestructorAccess(Field->getLocation(), Dtor, 3938 MarkFunctionReferenced(Location, Dtor); 3939 DiagnoseUseOfDecl(Dtor, Location); 3961 CXXDestructorDecl *Dtor = LookupDestructor(BaseClassDecl); local 3962 assert(Dtor 3993 CXXDestructorDecl *Dtor = LookupDestructor(BaseClassDecl); local 4847 const CXXDestructorDecl *Dtor = Checks[i].first; local [all...] |
H A D | SemaExprCXX.cpp | 2364 if (CXXDestructorDecl *Dtor = LookupDestructor(PointeeRD)) { 2366 const_cast<CXXDestructorDecl*>(Dtor)); 2367 if (DiagnoseUseOfDecl(Dtor, StartLoc)) 2409 if (CXXDestructorDecl *Dtor = LookupDestructor(PointeeRD)) { 2410 CheckDestructorAccess(Ex.get()->getExprLoc(), Dtor,
|
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/AST/ |
H A D | DeclCXX.cpp | 1253 CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(R.front()); 1254 return Dtor;
|
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/AST/ |
H A D | ExprCXX.h | 1000 void setDestructor(const CXXDestructorDecl *Dtor) { argument 1001 Destructor = Dtor;
|
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Sema/ |
H A D | Sema.h | 4953 CXXDestructorDecl *Dtor,
|