Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DRecord.h70 const CXXDestructorDecl *getDestructor() const { in getDestructor() function
72 return CXXDecl->getDestructor(); in getDestructor()
H A DByteCodeExprGen.cpp3022 if (const CXXDestructorDecl *Dtor = ElemRecord->getDestructor(); in emitRecordDestruction()
3057 if (const CXXDestructorDecl *Dtor = R->getDestructor(); in emitRecordDestruction()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DUsedDeclVisitor.h55 const_cast<CXXDestructorDecl *>(E->getTemporary()->getDestructor())); in VisitCXXBindTemporaryExpr()
H A DSemaCUDA.cpp570 return isEmptyCudaDestructor(Loc, RD->getDestructor()); in isEmptyCudaDestructor()
580 return isEmptyCudaDestructor(Loc, RD->getDestructor()); in isEmptyCudaDestructor()
633 return S.isEmptyCudaDestructor(VD->getLocation(), RD->getDestructor()); in HasAllowedCUDADeviceStaticInitializer()
H A DSemaExceptionSpec.cpp1083 if (auto *Dtor = RD->getDestructor()) { in canVarDeclThrow()
1233 const CXXDestructorDecl *DD = RD->getDestructor(); in canThrow()
1247 canCalleeThrow(*this, BTE, BTE->getTemporary()->getDestructor()); in canThrow()
H A DSemaCoroutine.cpp734 checkDeclNoexcept(Ctor->getParent()->getDestructor(), /*IsDtor=*/true); in checkNoThrow()
746 checkDeclNoexcept(cast<CXXRecordDecl>(T->getDecl())->getDestructor(), in checkNoThrow()
H A DSemaDeclCXX.cpp5900 CXXDestructorDecl *Dtor = ClassDecl->getDestructor(); in MarkBaseAndMemberDestructorsReferenced()
6894 } else if (const auto *DD = D->getDestructor()) { in canPassInRegisters()
7051 CXXDestructorDecl *dtor = Record->getDestructor(); in CheckCompletedCXXClass()
7068 if (const CXXDestructorDecl *dtor = Record->getDestructor()) { in CheckCompletedCXXClass()
7214 if (CXXDestructorDecl *Dtor = Record->getDestructor()) in CheckCompletedCXXClass()
9922 *Selected = RD->getDestructor(); in findTrivialSpecialMember()
14965 UserDeclaredOperation = RD->getDestructor(); in diagnoseDeprecatedCopyOperation()
18663 CXXDestructorDecl *DD = Class->getDestructor(); in MarkVTableUsed()
18672 MarkFunctionReferenced(Loc, Class->getDestructor()); in MarkVTableUsed()
H A DSema.cpp2220 if (CXXDestructorDecl *DD = RD->getDestructor()) { in checkEscapingByref()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DRefCntblBaseVirtualDtorChecker.cpp123 const auto *Dtor = C->getDestructor(); in visitCXXRecordDecl()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCXXDeleteChecker.cpp123 if (BaseClass->getDestructor()->isVirtual()) in checkTypedDeleteExpr()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCXX.cpp112 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.cpp511 const CXXDestructorDecl *D = BaseClass->getDestructor(); in Emit()
1351 if (!BaseClassDecl->getDestructor()->hasTrivialBody()) in HasTrivialDestructorBody()
2105 const CXXDestructorDecl *dtor = record->getDestructor(); in destroyCXXObject()
2491 ClassDecl->getDestructor(), in EmitDelegatingCXXConstructorCall()
2532 const CXXDestructorDecl *D = ClassDecl->getDestructor(); in PushDestructorCleanup()
H A DCGCoroutine.cpp162 const auto *Dtor = TE->getTemporary()->getDestructor(); in ResumeStmtCanThrow()
H A DCGExprCXX.cpp1908 auto *Dtor = ElementType->getAsCXXRecordDecl()->getDestructor(); in EmitDestroyingObjectDelete()
1942 Dtor = RD->getDestructor(); in EmitObjectDelete()
H A DCodeGenModule.cpp3856 if (RD->getDestructor() && !RD->getDestructor()->hasAttr<DLLImportAttr>()) in HasNonDllImportDtor()
3918 if (const auto *D = E->getTemporary()->getDestructor()) in VisitCXXBindTemporaryExpr()
H A DCGBlocks.cpp1673 if (const CXXDestructorDecl *DD = RD->getDestructor()) in cxxDestructorCanThrow()
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRFindingAction.cpp175 USRSet.insert(getUSRForDecl(RecordDecl->getDestructor())); in addUSRsOfCtorDtors()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp562 auto *Dtor = getDestructor(); in hasConstexprDestructor()
1972 CXXDestructorDecl *CXXRecordDecl::getDestructor() const { in getDestructor() function in CXXRecordDecl
2118 if (const auto *Dtor = Def->getDestructor()) in isEffectivelyFinal()
2212 CXXMethodDecl *MD = RD->getDestructor(); in getCorrespondingMethodDeclaredInClass()
H A DJSONNodeDumper.cpp1516 if (const CXXDestructorDecl *Dtor = Temp->getDestructor()) in VisitCXXBindTemporaryExpr()
H A DStmtProfile.cpp2031 const_cast<CXXDestructorDecl *>(S->getTemporary()->getDestructor())); in VisitCXXBindTemporaryExpr()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DCFG.cpp5114 const CXXDestructorDecl *Dtor = E->getTemporary()->getDestructor(); in VisitCXXBindTemporaryExprForTemporaryDtors()
5329 return classDecl->getDestructor(); in getDestructorDecl()
5337 return classDecl->getDestructor(); in getDestructorDecl()
5343 return temp->getDestructor(); in getDestructorDecl()
5355 return classDecl->getDestructor(); in getDestructorDecl()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCXX.cpp869 const CXXDestructorDecl *DtorDecl = RecordDecl->getDestructor(); in VisitCXXDestructor()
H A DExprEngine.cpp1424 const CXXDestructorDecl *Dtor = RD->getDestructor(); in ProcessDeleteDtor()
1434 return RD->getDestructor(); in ProcessDeleteDtor()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DDeclCXX.h1539 CXXDestructorDecl *getDestructor() const;

12