/external/clang/test/CXX/class/class.union/ |
H A D | p1.cpp | 35 class Dtor { class 36 ~Dtor() { abort(); } // expected-note 4 {{because type 'Dtor' has a user-declared destructor}} 47 Dtor dtor; // expected-error {{union member 'dtor' has a non-trivial destructor}} 71 Dtor dtor; // expected-note {{because type 'U2::<anonymous struct}} 91 struct s6 : Dtor { // expected-note {{because type 'U3::s6' has a base class with a non-trivial destructor}} 123 Either<int,Dtor> dtor(0); // expected-note {{in instantiation of template}}
|
/external/clang/lib/CodeGen/ |
H A D | CGClass.cpp | 526 CXXDestructorDecl *Dtor; member in struct:__anon3124::CallMemberDtor 528 CallMemberDtor(llvm::Value *V, CXXDestructorDecl *Dtor) argument 529 : V(V), Dtor(Dtor) {} 532 CGF.EmitCXXDestructorCall(Dtor, Dtor_Complete, /*ForVirtualBase=*/false, 863 const CXXDestructorDecl *Dtor) { 864 if (!Dtor->hasTrivialBody()) 868 const CXXRecordDecl *ClassDecl = Dtor->getParent(); 882 const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CurGD.getDecl()); local 890 EnterDtorCleanups(Dtor, Dtor_Deletin 862 CanSkipVTablePointerInitialization(ASTContext &Context, const CXXDestructorDecl *Dtor) argument 963 const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CGF.CurCodeDecl); local 1354 const CXXDestructorDecl *Dtor; member in struct:__anon3126::CallDelegatingCtorDtor 1416 const CXXDestructorDecl *Dtor; member in struct:__anon3127::CallLocalDtor [all...] |
H A D | CGCXXABI.h | 172 virtual void BuildDestructorSignature(const CXXDestructorDecl *Dtor,
|
H A D | CGExprCXX.cpp | 255 if (const CXXDestructorDecl *Dtor = dyn_cast<CXXDestructorDecl>(MD)) { 257 Callee = BuildVirtualCall(Dtor, Dtor_Complete, This, Ty); 264 Callee = CGM.GetAddrOfFunction(GlobalDecl(Dtor, Dtor_Complete), Ty); 1340 const CXXDestructorDecl *Dtor = 0; local 1344 Dtor = RD->getDestructor(); 1346 if (Dtor->isVirtual()) { 1357 CGF.getTypes().arrangeCXXDestructor(Dtor, Dtor_Complete)); 1360 = CGF.BuildVirtualCall(Dtor, 1363 CGF.EmitCXXMemberCall(Dtor, Callee, ReturnValueSlot(), Ptr, /*VTT=*/0, 1381 if (Dtor) [all...] |
H A D | CGException.cpp | 443 llvm::Constant *Dtor = 0; local 448 Dtor = CGM.GetAddrOfCXXDestructor(DtorD, Dtor_Complete); 449 Dtor = llvm::ConstantExpr::getBitCast(Dtor, Int8PtrTy); 452 if (!Dtor) Dtor = llvm::Constant::getNullValue(Int8PtrTy); 458 ExceptionPtr, TypeInfo, Dtor); 462 Builder.CreateCall3(getThrowFn(*this), ExceptionPtr, TypeInfo, Dtor);
|
H A D | ItaniumCXXABI.cpp | 103 void BuildDestructorSignature(const CXXDestructorDecl *Dtor, 138 void BuildDestructorSignature(const CXXDestructorDecl *Dtor, 706 void ItaniumCXXABI::BuildDestructorSignature(const CXXDestructorDecl *Dtor, argument 715 if (Type == Dtor_Base && Dtor->getParent()->getNumVBases() != 0) 721 void ARMCXXABI::BuildDestructorSignature(const CXXDestructorDecl *Dtor, argument 725 ItaniumCXXABI::BuildDestructorSignature(Dtor, Type, ResTy, ArgTys);
|
H A D | CGDecl.cpp | 359 const CXXDestructorDecl *Dtor, 361 : Dtor(Dtor), NRVOFlag(NRVOFlag), Loc(addr) {} 363 const CXXDestructorDecl *Dtor; member in struct:__anon3131::DestroyNRVOVariable 381 CGF.EmitCXXDestructorCall(Dtor, Dtor_Complete, 358 DestroyNRVOVariable(llvm::Value *addr, const CXXDestructorDecl *Dtor, llvm::Value *NRVOFlag) argument
|
H A D | CodeGenModule.h | 945 void AddGlobalDtor(llvm::Function *Dtor, int Priority=65535);
|
H A D | CodeGenFunction.h | 758 void PushDestructorCleanup(const CXXDestructorDecl *Dtor, 1434 void EnterDtorCleanups(const CXXDestructorDecl *Dtor, CXXDtorType Type);
|
H A D | CodeGenModule.cpp | 380 void CodeGenModule::AddGlobalDtor(llvm::Function * Dtor, int Priority) { argument 382 GlobalDtors.push_back(std::make_pair(Dtor, Priority));
|
/external/clang/lib/Sema/ |
H A D | SemaAccess.cpp | 1541 CXXDestructorDecl *Dtor, 1548 AccessSpecifier Access = Dtor->getAccess(); 1552 CXXRecordDecl *NamingClass = Dtor->getParent(); 1556 DeclAccessPair::make(Dtor, Access), 1540 CheckDestructorAccess(SourceLocation Loc, CXXDestructorDecl *Dtor, const PartialDiagnostic &PDiag, QualType ObjectTy) argument
|
H A D | SemaDeclCXX.cpp | 2842 if (CXXDestructorDecl *Dtor = LookupDestructor(Constructor->getParent())) { 2843 MarkFunctionReferenced(Initializer->getSourceLocation(), Dtor); 2844 DiagnoseUseOfDecl(Dtor, Initializer->getSourceLocation()); 3315 CXXDestructorDecl *Dtor = LookupDestructor(FieldClassDecl); local 3316 assert(Dtor && "No dtor found for FieldClassDecl!"); 3317 CheckDestructorAccess(Field->getLocation(), Dtor, 3322 MarkFunctionReferenced(Location, const_cast<CXXDestructorDecl*>(Dtor)); 3323 DiagnoseUseOfDecl(Dtor, Location); 3345 CXXDestructorDecl *Dtor = LookupDestructor(BaseClassDecl); local 3346 assert(Dtor 3377 CXXDestructorDecl *Dtor = LookupDestructor(BaseClassDecl); local [all...] |
H A D | SemaType.cpp | 4344 CXXDestructorDecl *Dtor = RD->getDestructor(); local 4345 assert(Dtor && "class has literal fields and bases but no dtor?"); 4346 if (!Dtor) 4349 Diag(Dtor->getLocation(), Dtor->isUserProvided() ?
|
H A D | SemaExprCXX.cpp | 2135 if (CXXDestructorDecl *Dtor = LookupDestructor(PointeeRD)) { 2137 const_cast<CXXDestructorDecl*>(Dtor)); 2138 DiagnoseUseOfDecl(Dtor, StartLoc); 2189 if (CXXDestructorDecl *Dtor = LookupDestructor(PointeeRD)) { 2190 CheckDestructorAccess(Ex.get()->getExprLoc(), Dtor,
|
H A D | SemaDecl.cpp | 9790 const CXXDestructorDecl *Dtor = local 9792 if (Dtor->getParent() != Record) 9795 assert(!Dtor->getParent()->isDependentType() && 9797 CheckOverridingFunctionExceptionSpec(Dtor,
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | ExprEngine.cpp | 434 void ExprEngine::ProcessAutomaticObjDtor(const CFGAutomaticObjDtor Dtor, argument 438 const VarDecl *varDecl = Dtor.getVarDecl(); 452 Dtor.getTriggerStmt(), Pred, Dst);
|
/external/clang/lib/AST/ |
H A D | DeclCXX.cpp | 1235 CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(*I); 1236 return Dtor;
|
/external/clang/lib/Analysis/ |
H A D | CFG.cpp | 782 const CXXDestructorDecl *Dtor = Ty->getAsCXXRecordDecl()->getDestructor(); local 783 if (cast<FunctionType>(Dtor->getType())->getNoReturnAttr()) 3068 const CXXDestructorDecl *Dtor = E->getTemporary()->getDestructor(); local 3069 if (cast<FunctionType>(Dtor->getType())->getNoReturnAttr())
|
/external/clang/include/clang/AST/ |
H A D | ExprCXX.h | 801 void setDestructor(const CXXDestructorDecl *Dtor) { argument 802 Destructor = Dtor;
|
/external/clang/include/clang/Sema/ |
H A D | Sema.h | 4106 void CheckExplicitlyDefaultedDestructor(CXXDestructorDecl *Dtor); 4209 CXXDestructorDecl *Dtor,
|