/external/clang/test/CXX/class/class.union/ |
p1.cpp | 34 class Dtor { 35 ~Dtor() { abort(); } // expected-note 4 {{because type 'Dtor' has a user-declared destructor}} 46 Dtor dtor; // expected-error {{union member 'dtor' has a non-trivial destructor}} member in union:U1 70 Dtor dtor; // expected-note {{because type 'U2::<anonymous struct}} member in struct:U2::__anon5576 90 struct s6 : Dtor { // expected-note {{because type 'U3::s6' has a base class with a non-trivial destructor}} 122 Either<int,Dtor> dtor(0); // expected-note {{in instantiation of template} [all...] |
/external/clang/test/Analysis/ |
dtor.cpp | 234 class Dtor { 236 ~Dtor() { 242 Dtor d;
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
DynamicTypePropagation.cpp | 84 if (const CXXDestructorCall *Dtor = dyn_cast<CXXDestructorCall>(&Call)) { 86 if (!Dtor->isBaseDestructor()) 89 const MemRegion *Target = Dtor->getCXXThisVal().getAsRegion(); 93 const Decl *D = Dtor->getDecl();
|
/external/clang/lib/CodeGen/ |
CGClass.cpp | 298 // If the record matches the base, this is the complete ctor/dtor 302 "doing no-op VTT offset in base dtor/ctor?"); 533 CXXDestructorDecl *Dtor; 535 CallMemberDtor(llvm::Value *V, CXXDestructorDecl *Dtor) 536 : V(V), Dtor(Dtor) {} 539 CGF.EmitCXXDestructorCall(Dtor, Dtor_Complete, /*ForVirtualBase=*/false, 1226 const CXXDestructorDecl *dtor = record->getDestructor(); local [all...] |
CGCXXABI.h | 175 virtual void BuildDestructorSignature(const CXXDestructorDecl *Dtor, 282 /// \param dtor - a function taking a single pointer argument 284 virtual void registerGlobalDtor(CodeGenFunction &CGF, llvm::Constant *dtor,
|
CGExprCXX.cpp | 282 if (const CXXDestructorDecl *Dtor = dyn_cast<CXXDestructorDecl>(MD)) { 284 Callee = BuildVirtualCall(Dtor, Dtor_Complete, This, Ty); 291 Callee = CGM.GetAddrOfFunction(GlobalDecl(Dtor, Dtor_Complete), Ty); [all...] |
CGException.cpp | 455 llvm::Constant *Dtor = 0; 460 Dtor = CGM.GetAddrOfCXXDestructor(DtorD, Dtor_Complete); 461 Dtor = llvm::ConstantExpr::getBitCast(Dtor, Int8PtrTy); 464 if (!Dtor) Dtor = llvm::Constant::getNullValue(Int8PtrTy); 470 ExceptionPtr, TypeInfo, Dtor); 474 Builder.CreateCall3(getThrowFn(*this), ExceptionPtr, TypeInfo, Dtor); [all...] |
ItaniumCXXABI.cpp | 100 void BuildDestructorSignature(const CXXDestructorDecl *Dtor, 125 void registerGlobalDtor(CodeGenFunction &CGF, llvm::Constant *dtor, 140 void BuildDestructorSignature(const CXXDestructorDecl *Dtor, 706 void ItaniumCXXABI::BuildDestructorSignature(const CXXDestructorDecl *Dtor, 715 if (Type == Dtor_Base && Dtor->getParent()->getNumVBases() != 0) 721 void ARMCXXABI::BuildDestructorSignature(const CXXDestructorDecl *Dtor, 725 ItaniumCXXABI::BuildDestructorSignature(Dtor, Type, ResTy, ArgTys); [all...] |
CGDecl.cpp | 366 const CXXDestructorDecl *Dtor, 368 : Dtor(Dtor), NRVOFlag(NRVOFlag), Loc(addr) {} 370 const CXXDestructorDecl *Dtor; 375 // Along the exceptions path we always execute the dtor. 388 CGF.EmitCXXDestructorCall(Dtor, Dtor_Complete, 1156 CXXDestructorDecl *dtor = type->getAsCXXRecordDecl()->getDestructor(); local [all...] |
CodeGenModule.h | 669 llvm::GlobalValue *GetAddrOfCXXDestructor(const CXXDestructorDecl *dtor, [all...] |
CodeGenFunction.h | 343 /// struct A { ~A(); }; // trivial ctor, non-trivial dtor 762 void PushDestructorCleanup(const CXXDestructorDecl *Dtor, [all...] |
CodeGenModule.cpp | 435 void CodeGenModule::AddGlobalDtor(llvm::Function * Dtor, int Priority) { 437 GlobalDtors.push_back(std::make_pair(Dtor, Priority)); [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
CallEvent.cpp | 901 const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CalleeCtx->getDecl()); 902 Loc ThisPtr = SVB.getCXXThis(Dtor, CalleeCtx); 909 Trigger = Dtor->getBody(); 911 return getCXXDestructorCall(Dtor, Trigger, ThisVal.getAsRegion(),
|
ExprEngineCallAndReturn.cpp | 420 const CXXDestructorCall &Dtor = cast<CXXDestructorCall>(Call); 423 const MemRegion *Target = Dtor.getCXXThisVal().getAsRegion();
|
PathDiagnostic.cpp | 488 const CFGAutomaticObjDtor &Dtor = cast<CFGAutomaticObjDtor>(Source); 489 return PathDiagnosticLocation::createEnd(Dtor.getTriggerStmt(), [all...] |
ExprEngine.cpp | 428 llvm_unreachable("Unexpected dtor kind."); 435 void ExprEngine::ProcessAutomaticObjDtor(const CFGAutomaticObjDtor Dtor, 439 const VarDecl *varDecl = Dtor.getVarDecl(); 449 Dtor.getTriggerStmt(), /*IsBase=*/false, Pred, Dst); [all...] |
/external/clang/lib/Analysis/ |
LiveVariables.cpp | 467 if (const CFGAutomaticObjDtor *Dtor = dyn_cast<CFGAutomaticObjDtor>(&elem)){ 468 val.liveDecls = DSetFact.add(val.liveDecls, Dtor->getVarDecl());
|
CFG.cpp | 809 const CXXDestructorDecl *Dtor = Ty->getAsCXXRecordDecl()->getDestructor(); 810 if (cast<FunctionType>(Dtor->getType())->getNoReturnAttr()) [all...] |
ThreadSafety.cpp | [all...] |
/external/clang/lib/Sema/ |
SemaAccess.cpp | [all...] |
SemaDeclCXX.cpp | 3827 CXXDestructorDecl *dtor = Record->getDestructor(); local [all...] |
SemaType.cpp | [all...] |
SemaExprCXX.cpp | 2194 CXXDestructorDecl *dtor = PointeeRD->getDestructor(); local [all...] |
/external/clang/lib/AST/ |
DeclCXX.cpp | 647 // C++11 [class.dtor]p5: [all...] |
/external/clang/include/clang/AST/ |
ExprCXX.h | 822 void setDestructor(const CXXDestructorDecl *Dtor) { 823 Destructor = Dtor; [all...] |