Home
last modified time | relevance | path

Searched refs:getDestructor (Results 1 – 25 of 40) sorted by relevance

12

/openbsd/gnu/llvm/clang/lib/AST/Interp/
H A DRecord.h67 const CXXDestructorDecl *getDestructor() const { in getDestructor() function
69 return CXXDecl->getDestructor(); in getDestructor()
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DDeleteWithNonVirtualDtorChecker.cpp82 if (BaseClass->getDestructor()->isVirtual()) in checkPreStmt()
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DRefCntblBaseVirtualDtorChecker.cpp84 const auto *Dtor = (*RefCntblBaseRD)->getDestructor(); in visitCXXRecordDecl()
/openbsd/gnu/llvm/clang/lib/Sema/
H A DUsedDeclVisitor.h55 const_cast<CXXDestructorDecl *>(E->getTemporary()->getDestructor())); in VisitCXXBindTemporaryExpr()
H A DSemaCUDA.cpp534 return isEmptyCudaDestructor(Loc, RD->getDestructor()); in isEmptyCudaDestructor()
544 return isEmptyCudaDestructor(Loc, RD->getDestructor()); in isEmptyCudaDestructor()
597 return S.isEmptyCudaDestructor(VD->getLocation(), RD->getDestructor()); in HasAllowedCUDADeviceStaticInitializer()
H A DSemaExceptionSpec.cpp1075 if (auto *Dtor = RD->getDestructor()) { in canVarDeclThrow()
1225 const CXXDestructorDecl *DD = RD->getDestructor(); in canThrow()
1239 canCalleeThrow(*this, BTE, BTE->getTemporary()->getDestructor()); in canThrow()
H A DSemaCoroutine.cpp649 checkDeclNoexcept(Ctor->getParent()->getDestructor(), /*IsDtor=*/true); in checkNoThrow()
661 checkDeclNoexcept(cast<CXXRecordDecl>(T->getDecl())->getDestructor(), in checkNoThrow()
H A DSemaDeclCXX.cpp5708 CXXDestructorDecl *Dtor = ClassDecl->getDestructor(); in MarkBaseAndMemberDestructorsReferenced()
6691 } else if (const auto *DD = D->getDestructor()) { in canPassInRegisters()
6848 CXXDestructorDecl *dtor = Record->getDestructor(); in CheckCompletedCXXClass()
6865 if (const CXXDestructorDecl *dtor = Record->getDestructor()) { in CheckCompletedCXXClass()
7011 if (CXXDestructorDecl *Dtor = Record->getDestructor()) in CheckCompletedCXXClass()
9625 *Selected = RD->getDestructor(); in findTrivialSpecialMember()
14525 UserDeclaredOperation = RD->getDestructor(); in diagnoseDeprecatedCopyOperation()
17966 CXXDestructorDecl *DD = Class->getDestructor(); in MarkVTableUsed()
17975 MarkFunctionReferenced(Loc, Class->getDestructor()); in MarkVTableUsed()
H A DSema.cpp2176 if (CXXDestructorDecl *DD = RD->getDestructor()) { in checkEscapingByref()
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DCGCXX.cpp107 const CXXDestructorDecl *BaseD = UniqueBase->getDestructor(); in TryEmitBaseDestructorAsAlias()
H A DCGDeclCXX.cpp111 GlobalDecl(Record->getDestructor(), Dtor_Complete)) || in EmitDeclDestroy()
119 CXXDestructorDecl *Dtor = Record->getDestructor(); in EmitDeclDestroy()
H A DCGClass.cpp519 const CXXDestructorDecl *D = BaseClass->getDestructor(); in Emit()
1360 if (!BaseClassDecl->getDestructor()->hasTrivialBody()) in HasTrivialDestructorBody()
2114 const CXXDestructorDecl *dtor = record->getDestructor(); in destroyCXXObject()
2501 ClassDecl->getDestructor(), in EmitDelegatingCXXConstructorCall()
2542 const CXXDestructorDecl *D = ClassDecl->getDestructor(); in PushDestructorCleanup()
H A DCGExprCXX.cpp1882 auto *Dtor = ElementType->getAsCXXRecordDecl()->getDestructor(); in EmitDestroyingObjectDelete()
1916 Dtor = RD->getDestructor(); in EmitObjectDelete()
H A DCodeGenModule.cpp3419 if (RD->getDestructor() && !RD->getDestructor()->hasAttr<DLLImportAttr>()) in HasNonDllImportDtor()
3481 if (const auto *D = E->getTemporary()->getDestructor()) in VisitCXXBindTemporaryExpr()
H A DCGBlocks.cpp1705 if (const CXXDestructorDecl *DD = RD->getDestructor()) in cxxDestructorCanThrow()
H A DCGDecl.cpp2004 CXXDestructorDecl *dtor = type->getAsCXXRecordDecl()->getDestructor(); in emitAutoVarTypeCleanup()
/openbsd/gnu/llvm/clang/lib/Tooling/Refactoring/Rename/
H A DUSRFindingAction.cpp175 USRSet.insert(getUSRForDecl(RecordDecl->getDestructor())); in addUSRsOfCtorDtors()
/openbsd/gnu/llvm/clang/lib/AST/
H A DDeclCXX.cpp562 auto *Dtor = getDestructor(); in hasConstexprDestructor()
1931 CXXDestructorDecl *CXXRecordDecl::getDestructor() const { in getDestructor() function in CXXRecordDecl
2077 if (const auto *Dtor = Def->getDestructor()) in isEffectivelyFinal()
2171 CXXMethodDecl *MD = RD->getDestructor(); in getCorrespondingMethodDeclaredInClass()
H A DJSONNodeDumper.cpp1443 if (const CXXDestructorDecl *Dtor = Temp->getDestructor()) in VisitCXXBindTemporaryExpr()
H A DStmtProfile.cpp1993 const_cast<CXXDestructorDecl *>(S->getTemporary()->getDestructor())); in VisitCXXBindTemporaryExpr()
/openbsd/gnu/llvm/clang/lib/Analysis/
H A DCFG.cpp5105 const CXXDestructorDecl *Dtor = E->getTemporary()->getDestructor(); in VisitCXXBindTemporaryExprForTemporaryDtors()
5320 return classDecl->getDestructor(); in getDestructorDecl()
5328 return classDecl->getDestructor(); in getDestructorDecl()
5334 return temp->getDestructor(); in getDestructorDecl()
5346 return classDecl->getDestructor(); in getDestructorDecl()
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCXX.cpp864 const CXXDestructorDecl *DtorDecl = RecordDecl->getDestructor(); in VisitCXXDestructor()
H A DExprEngine.cpp1407 const CXXDestructorDecl *Dtor = RD->getDestructor(); in ProcessDeleteDtor()
1417 return RD->getDestructor(); in ProcessDeleteDtor()
/openbsd/gnu/llvm/clang/include/clang/AST/
H A DDeclCXX.h1516 CXXDestructorDecl *getDestructor() const;
H A DExprCXX.h1449 const CXXDestructorDecl *getDestructor() const { return Destructor; } in getDestructor() function

12