/external/clang/test/CXX/class/class.union/ |
H A D | p1.cpp | 34 class Dtor { class 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}} 70 Dtor dtor; // expected-note {{because type 'U2::<anonymous struct}} 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}}
|
/external/clang/test/Analysis/ |
H A D | dtor.cpp | 234 class Dtor { class in namespace:DestructorsShouldNotAffectReturnValues 236 ~Dtor() { 242 Dtor d;
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | CallEvent.cpp | 901 const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CalleeCtx->getDecl()); local 902 Loc ThisPtr = SVB.getCXXThis(Dtor, CalleeCtx); 909 Trigger = Dtor->getBody(); 911 return getCXXDestructorCall(Dtor, Trigger, ThisVal.getAsRegion(),
|
H A D | ExprEngineCallAndReturn.cpp | 420 const CXXDestructorCall &Dtor = cast<CXXDestructorCall>(Call); local 423 const MemRegion *Target = Dtor.getCXXThisVal().getAsRegion();
|
H A D | ExprEngine.cpp | 435 void ExprEngine::ProcessAutomaticObjDtor(const CFGAutomaticObjDtor Dtor, argument 439 const VarDecl *varDecl = Dtor.getVarDecl(); 449 Dtor.getTriggerStmt(), /*IsBase=*/false, Pred, Dst);
|
H A D | PathDiagnostic.cpp | 488 const CFGAutomaticObjDtor &Dtor = cast<CFGAutomaticObjDtor>(Source); local 489 return PathDiagnosticLocation::createEnd(Dtor.getTriggerStmt(),
|
/external/clang/lib/Sema/ |
H A D | SemaAccess.cpp | 1545 CXXDestructorDecl *Dtor, 1552 AccessSpecifier Access = Dtor->getAccess(); 1556 CXXRecordDecl *NamingClass = Dtor->getParent(); 1560 DeclAccessPair::make(Dtor, Access), 1544 CheckDestructorAccess(SourceLocation Loc, CXXDestructorDecl *Dtor, const PartialDiagnostic &PDiag, QualType ObjectTy) argument
|
H A D | SemaType.cpp | 4536 CXXDestructorDecl *Dtor = RD->getDestructor(); local 4537 assert(Dtor && "class has literal fields and bases but no dtor?"); 4538 if (!Dtor) 4541 Diag(Dtor->getLocation(), Dtor->isUserProvided() ?
|
H A D | SemaDeclCXX.cpp | 2932 if (CXXDestructorDecl *Dtor = LookupDestructor(Constructor->getParent())) { 2933 MarkFunctionReferenced(Initializer->getSourceLocation(), Dtor); 2934 DiagnoseUseOfDecl(Dtor, Initializer->getSourceLocation()); 3405 CXXDestructorDecl *Dtor = LookupDestructor(FieldClassDecl); local 3406 assert(Dtor && "No dtor found for FieldClassDecl!"); 3407 CheckDestructorAccess(Field->getLocation(), Dtor, 3412 MarkFunctionReferenced(Location, const_cast<CXXDestructorDecl*>(Dtor)); 3413 DiagnoseUseOfDecl(Dtor, Location); 3435 CXXDestructorDecl *Dtor = LookupDestructor(BaseClassDecl); local 3436 assert(Dtor 3467 CXXDestructorDecl *Dtor = LookupDestructor(BaseClassDecl); local 7226 const CXXDestructorDecl *Dtor = local [all...] |
/external/clang/include/clang/AST/ |
H A D | ExprCXX.h | 822 void setDestructor(const CXXDestructorDecl *Dtor) { argument 823 Destructor = Dtor;
|
/external/clang/lib/CodeGen/ |
H A D | CGDecl.cpp | 366 const CXXDestructorDecl *Dtor, 368 : Dtor(Dtor), NRVOFlag(NRVOFlag), Loc(addr) {} 370 const CXXDestructorDecl *Dtor; member in struct:__anon3574::DestroyNRVOVariable 388 CGF.EmitCXXDestructorCall(Dtor, Dtor_Complete, 365 DestroyNRVOVariable(llvm::Value *addr, const CXXDestructorDecl *Dtor, llvm::Value *NRVOFlag) argument
|
H A D | CGException.cpp | 455 llvm::Constant *Dtor = 0; local 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);
|
H A D | 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); 1375 const CXXDestructorDecl *Dtor = 0; local 1379 Dtor = RD->getDestructor(); 1381 if (Dtor->isVirtual()) { 1392 CGF.getTypes().arrangeCXXDestructor(Dtor, Dtor_Complete)); 1395 = CGF.BuildVirtualCall(Dtor, 1398 CGF.EmitCXXMemberCall(Dtor, Callee, ReturnValueSlot(), Ptr, /*VTT=*/0, 1416 if (Dtor) [all...] |
H A D | ItaniumCXXABI.cpp | 100 void BuildDestructorSignature(const CXXDestructorDecl *Dtor, 140 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 | CGClass.cpp | 533 CXXDestructorDecl *Dtor; member in struct:__anon3567::CallMemberDtor 535 CallMemberDtor(llvm::Value *V, CXXDestructorDecl *Dtor) argument 536 : V(V), Dtor(Dtor) {} 539 CGF.EmitCXXDestructorCall(Dtor, Dtor_Complete, /*ForVirtualBase=*/false, 874 const CXXDestructorDecl *Dtor) { 875 if (!Dtor->hasTrivialBody()) 879 const CXXRecordDecl *ClassDecl = Dtor->getParent(); 893 const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CurGD.getDecl()); local 901 EnterDtorCleanups(Dtor, Dtor_Deletin 873 CanSkipVTablePointerInitialization(ASTContext &Context, const CXXDestructorDecl *Dtor) argument 974 const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CGF.CurCodeDecl); local 1366 const CXXDestructorDecl *Dtor; member in struct:__anon3569::CallDelegatingCtorDtor 1428 const CXXDestructorDecl *Dtor; member in struct:__anon3570::CallLocalDtor [all...] |
H A D | CodeGenModule.cpp | 435 void CodeGenModule::AddGlobalDtor(llvm::Function * Dtor, int Priority) { argument 437 GlobalDtors.push_back(std::make_pair(Dtor, Priority));
|
/external/clang/lib/Analysis/ |
H A D | ThreadSafety.cpp | 1964 bool Dtor = isa<CXXDestructorDecl>(D); local 1966 Analyzer->removeLock(FSet, LocksToRemove[i], Loc, Dtor);
|
H A D | CFG.cpp | 809 const CXXDestructorDecl *Dtor = Ty->getAsCXXRecordDecl()->getDestructor(); local 810 if (cast<FunctionType>(Dtor->getType())->getNoReturnAttr()) 3191 const CXXDestructorDecl *Dtor = E->getTemporary()->getDestructor(); local 3192 if (cast<FunctionType>(Dtor->getType())->getNoReturnAttr())
|