Searched defs:Dtor (Results 1 - 18 of 18) sorted by relevance

/external/clang/test/CXX/class/class.union/
H A Dp1.cpp34 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 Ddtor.cpp234 class Dtor { class in namespace:DestructorsShouldNotAffectReturnValues
236 ~Dtor() {
242 Dtor d;
/external/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp901 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 DExprEngineCallAndReturn.cpp420 const CXXDestructorCall &Dtor = cast<CXXDestructorCall>(Call); local
423 const MemRegion *Target = Dtor.getCXXThisVal().getAsRegion();
H A DExprEngine.cpp435 void ExprEngine::ProcessAutomaticObjDtor(const CFGAutomaticObjDtor Dtor, argument
439 const VarDecl *varDecl = Dtor.getVarDecl();
449 Dtor.getTriggerStmt(), /*IsBase=*/false, Pred, Dst);
H A DPathDiagnostic.cpp488 const CFGAutomaticObjDtor &Dtor = cast<CFGAutomaticObjDtor>(Source); local
489 return PathDiagnosticLocation::createEnd(Dtor.getTriggerStmt(),
/external/clang/lib/Sema/
H A DSemaAccess.cpp1545 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 DSemaType.cpp4536 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 DSemaDeclCXX.cpp2932 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 DExprCXX.h822 void setDestructor(const CXXDestructorDecl *Dtor) { argument
823 Destructor = Dtor;
/external/clang/lib/CodeGen/
H A DCGDecl.cpp366 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 DCGException.cpp455 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 DCGExprCXX.cpp282 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 DItaniumCXXABI.cpp100 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 DCGClass.cpp533 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 DCodeGenModule.cpp435 void CodeGenModule::AddGlobalDtor(llvm::Function * Dtor, int Priority) { argument
437 GlobalDtors.push_back(std::make_pair(Dtor, Priority));
/external/clang/lib/Analysis/
H A DThreadSafety.cpp1964 bool Dtor = isa<CXXDestructorDecl>(D); local
1966 Analyzer->removeLock(FSet, LocksToRemove[i], Loc, Dtor);
H A DCFG.cpp809 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())

Completed in 1249 milliseconds