Home
last modified time | relevance | path

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

12

/freebsd/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 DInterp.cpp858 if (const CXXDestructorDecl *Dtor = R->getDestructor(); in runRecordDestructor()
H A DCompiler.cpp5523 if (const CXXDestructorDecl *Dtor = R->getDestructor(); in emitRecordDestruction()
5570 if (const CXXDestructorDecl *Dtor = ElemRecord->getDestructor(); in emitDestruction()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DUsedDeclVisitor.h55 const_cast<CXXDestructorDecl *>(E->getTemporary()->getDestructor())); in VisitCXXBindTemporaryExpr()
H A DSemaCUDA.cpp585 return isEmptyDestructor(Loc, RD->getDestructor()); in isEmptyDestructor()
595 return isEmptyDestructor(Loc, RD->getDestructor()); in isEmptyDestructor()
648 return S.isEmptyDestructor(VD->getLocation(), RD->getDestructor()); in HasAllowedCUDADeviceStaticInitializer()
H A DSemaExceptionSpec.cpp1063 if (auto *Dtor = RD->getDestructor()) { in canVarDeclThrow()
1212 const CXXDestructorDecl *DD = RD->getDestructor(); in canThrow()
1226 canCalleeThrow(*this, BTE, BTE->getTemporary()->getDestructor()); in canThrow()
H A DSemaCoroutine.cpp646 checkDeclNoexcept(Ctor->getParent()->getDestructor(), /*IsDtor=*/true); in checkNoThrow()
658 checkDeclNoexcept(cast<CXXRecordDecl>(T->getDecl())->getDestructor(), in checkNoThrow()
H A DSemaDeclCXX.cpp5753 CXXDestructorDecl *Dtor = ClassDecl->getDestructor(); in MarkBaseAndMemberDestructorsReferenced()
6741 } else if (const auto *DD = D->getDestructor()) { in canPassInRegisters()
6891 CXXDestructorDecl *dtor = Record->getDestructor(); in CheckCompletedCXXClass()
6908 if (const CXXDestructorDecl *dtor = Record->getDestructor()) { in CheckCompletedCXXClass()
7093 if (CXXDestructorDecl *Dtor = Record->getDestructor()) in CheckCompletedCXXClass()
9830 *Selected = RD->getDestructor(); in findTrivialSpecialMember()
14839 UserDeclaredOperation = RD->getDestructor(); in diagnoseDeprecatedCopyOperation()
16022 // will not be selected by `CXXRecordDecl::getDestructor()`. in FinalizeVarWithDestructor()
18475 CXXDestructorDecl *DD = Class->getDestructor(); in MarkVTableUsed()
18484 MarkFunctionReferenced(Loc, Class->getDestructor()); in MarkVTableUsed()
[all...]
H A DSema.cpp2231 if (CXXDestructorDecl *DD = RD->getDestructor()) { in checkEscapingByref()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCXXDeleteChecker.cpp123 if (BaseClass->getDestructor()->isVirtual()) in checkTypedDeleteExpr()
/freebsd/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.cpp520 const CXXDestructorDecl *D = BaseClass->getDestructor(); in Emit()
1360 if (!BaseClassDecl->getDestructor()->hasTrivialBody()) in HasTrivialDestructorBody()
2114 const CXXDestructorDecl *dtor = record->getDestructor(); in destroyCXXObject()
2506 ClassDecl->getDestructor(), in EmitDelegatingCXXConstructorCall()
2547 const CXXDestructorDecl *D = ClassDecl->getDestructor(); in PushDestructorCleanup()
H A DCGCoroutine.cpp162 const auto *Dtor = TE->getTemporary()->getDestructor(); in StmtCanThrow()
H A DCGExprCXX.cpp1906 auto *Dtor = ElementType->getAsCXXRecordDecl()->getDestructor(); in EmitDestroyingObjectDelete()
1940 Dtor = RD->getDestructor(); in EmitObjectDelete()
H A DCodeGenModule.cpp3898 if (RD->getDestructor() && !RD->getDestructor()->hasAttr<DLLImportAttr>()) in HasNonDllImportDtor()
3960 if (const auto *D = E->getTemporary()->getDestructor()) in VisitCXXBindTemporaryExpr()
H A DCGBlocks.cpp1688 if (const CXXDestructorDecl *DD = RD->getDestructor()) in cxxDestructorCanThrow()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DRefCntblBaseVirtualDtorChecker.cpp278 const auto *Dtor = C->getDestructor(); in visitCXXRecordDecl()
H A DPtrTypesSemantics.cpp498 if (!TrivialFunctionAnalysis::isTrivialImpl(Temp->getDestructor(), Cache)) in VisitCXXBindTemporaryExpr()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp601 auto *Dtor = getDestructor(); in hasConstexprDestructor()
2014 CXXDestructorDecl *CXXRecordDecl::getDestructor() const { in getDestructor() function in CXXRecordDecl
2159 if (const auto *Dtor = Def->getDestructor()) in isEffectivelyFinal()
2253 CXXMethodDecl *MD = RD->getDestructor(); in getCorrespondingMethodDeclaredInClass()
H A DJSONNodeDumper.cpp1551 if (const CXXDestructorDecl *Dtor = Temp->getDestructor()) in VisitCXXBindTemporaryExpr()
H A DStmtProfile.cpp2043 const_cast<CXXDestructorDecl *>(S->getTemporary()->getDestructor())); in VisitCXXBindTemporaryExpr()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DCFG.cpp5111 const CXXDestructorDecl *Dtor = E->getTemporary()->getDestructor(); in VisitCXXBindTemporaryExprForTemporaryDtors()
5326 return classDecl->getDestructor(); in getDestructorDecl()
5334 return classDecl->getDestructor(); in getDestructorDecl()
5340 return temp->getDestructor(); in getDestructorDecl()
5352 return classDecl->getDestructor(); in getDestructorDecl()
/freebsd/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()

12