HomeSort by relevance Sort by last modified time
    Searched refs:Dtor (Results 1 - 25 of 27) sorted by null

1 2

  /external/clang/test/CXX/class/class.union/
p1.cpp 34 class Dtor {
35 ~Dtor() { abort(); } // expected-note 2 {{because type 'Dtor' has a user-provided destructor}} expected-note 2{{here}}
46 Dtor dtor; // expected-error {{union member 'dtor' has a non-trivial destructor}} member in union:U1
70 Dtor dtor; // expected-note {{because field of type 'Dtor' has a user-provided destructor}} member in struct:U2::__anon6153
90 struct s6 : Dtor { // expected-note {{because base class of type 'Dtor' has a user-provided destructor}
    [all...]
  /external/clang/test/Analysis/
dtor.cpp 234 class Dtor {
236 ~Dtor() {
242 Dtor d;
  /external/clang/lib/CodeGen/
MicrosoftCXXABI.cpp 67 const CXXDestructorDecl *Dtor,
165 void MicrosoftCXXABI::BuildDestructorSignature(const CXXDestructorDecl *Dtor,
265 const CXXDestructorDecl *Dtor,
275 = &CGM.getTypes().arrangeCXXDestructor(Dtor, Dtor_Deleting);
277 llvm::Value *Callee = CGF.BuildVirtualCall(Dtor, Dtor_Deleting, This, Ty);
284 return CGF.EmitCXXMemberCall(Dtor, CallLoc, Callee, ReturnValue, This,
CGClass.cpp 304 // If the record matches the base, this is the complete ctor/dtor
307 "doing no-op VTT offset in base dtor/ctor?");
1624 const CXXDestructorDecl *dtor = record->getDestructor(); local
    [all...]
ItaniumCXXABI.cpp 104 void BuildDestructorSignature(const CXXDestructorDecl *Dtor,
124 const CXXDestructorDecl *Dtor,
145 void registerGlobalDtor(CodeGenFunction &CGF, llvm::Constant *dtor,
158 void BuildDestructorSignature(const CXXDestructorDecl *Dtor,
758 void ItaniumCXXABI::BuildDestructorSignature(const CXXDestructorDecl *Dtor,
767 if (Type == Dtor_Base && Dtor->getParent()->getNumVBases() != 0)
773 void ARMCXXABI::BuildDestructorSignature(const CXXDestructorDecl *Dtor,
777 ItaniumCXXABI::BuildDestructorSignature(Dtor, Type, ResTy, ArgTys);
    [all...]
CGCXXABI.h 194 virtual void BuildDestructorSignature(const CXXDestructorDecl *Dtor,
222 const CXXDestructorDecl *Dtor,
320 /// \param dtor - a function taking a single pointer argument
322 virtual void registerGlobalDtor(CodeGenFunction &CGF, llvm::Constant *dtor,
CGExprCXX.cpp 265 if (const CXXDestructorDecl *Dtor = dyn_cast<CXXDestructorDecl>(CalleeDecl))
266 FInfo = &CGM.getTypes().arrangeCXXDestructor(Dtor,
285 if (const CXXDestructorDecl *Dtor = dyn_cast<CXXDestructorDecl>(MD)) {
289 return CGM.getCXXABI().EmitVirtualDestructorCall(*this, Dtor,
299 Callee = CGM.GetAddrOfFunction(GlobalDecl(Dtor, Dtor_Complete), Ty);
    [all...]
CGException.cpp 465 llvm::Constant *Dtor = 0;
470 Dtor = CGM.GetAddrOfCXXDestructor(DtorD, Dtor_Complete);
471 Dtor = llvm::ConstantExpr::getBitCast(Dtor, Int8PtrTy);
474 if (!Dtor) Dtor = llvm::Constant::getNullValue(Int8PtrTy);
476 llvm::Value *args[] = { ExceptionPtr, TypeInfo, Dtor };
    [all...]
CGDecl.cpp 367 const CXXDestructorDecl *Dtor,
369 : Dtor(Dtor), NRVOFlag(NRVOFlag), Loc(addr) {}
371 const CXXDestructorDecl *Dtor;
376 // Along the exceptions path we always execute the dtor.
389 CGF.EmitCXXDestructorCall(Dtor, Dtor_Complete,
1172 CXXDestructorDecl *dtor = type->getAsCXXRecordDecl()->getDestructor(); local
    [all...]
CodeGenModule.h 706 llvm::GlobalValue *GetAddrOfCXXDestructor(const CXXDestructorDecl *dtor,
    [all...]
CodeGenFunction.h 354 /// struct A { ~A(); }; // trivial ctor, non-trivial dtor
777 void PushDestructorCleanup(const CXXDestructorDecl *Dtor,
    [all...]
  /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/StaticAnalyzer/Core/
CallEvent.cpp     [all...]
ExprEngineCallAndReturn.cpp 646 const CXXDestructorCall &Dtor = cast<CXXDestructorCall>(Call);
649 const MemRegion *Target = Dtor.getCXXThisVal().getAsRegion();
    [all...]
PathDiagnostic.cpp 488 const CFGAutomaticObjDtor &Dtor = Source.castAs<CFGAutomaticObjDtor>();
489 return PathDiagnosticLocation::createEnd(Dtor.getTriggerStmt(),
    [all...]
ExprEngine.cpp 481 llvm_unreachable("Unexpected dtor kind.");
488 void ExprEngine::ProcessAutomaticObjDtor(const CFGAutomaticObjDtor Dtor,
492 const VarDecl *varDecl = Dtor.getVarDecl();
502 Dtor.getTriggerStmt(), /*IsBase=*/ false, Pred, Dst);
    [all...]
  /external/clang/lib/Analysis/
LiveVariables.cpp 477 if (Optional<CFGAutomaticObjDtor> Dtor =
479 val.liveDecls = DSetFact.add(val.liveDecls, Dtor->getVarDecl());
CFG.cpp 847 const CXXDestructorDecl *Dtor = Ty->getAsCXXRecordDecl()->getDestructor();
848 if (Dtor->isNoReturn())
    [all...]
ThreadSafety.cpp     [all...]
  /external/clang/lib/Sema/
SemaAccess.cpp     [all...]
SemaDeclCXX.cpp 4023 CXXDestructorDecl *dtor = Record->getDestructor(); local
    [all...]
SemaType.cpp     [all...]
SemaExprCXX.cpp 2171 CXXDestructorDecl *dtor = PointeeRD->getDestructor(); local
    [all...]
  /external/clang/lib/AST/
DeclCXX.cpp 356 // C++11 [class.ctor]p5, C++11 [class.copy]p11, C++11 [class.dtor]p5:
357 // A defaulted [ctor or dtor] for a class X is defined as
360 // that is deleted or inaccessible from the defaulted [ctor or dtor].
362 // that is deleted or inaccessible from the defaulted [ctor or dtor].
523 // C++11 [class.dtor]p5:
    [all...]
  /external/clang/include/clang/AST/
ExprCXX.h 841 void setDestructor(const CXXDestructorDecl *Dtor) {
842 Destructor = Dtor;
    [all...]

Completed in 577 milliseconds

1 2