Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DDeleteWithNonVirtualDtorChecker.cpp82 if (BaseClass->getDestructor()->isVirtual()) in checkPreStmt()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DRefCntblBaseVirtualDtorChecker.cpp84 const auto *Dtor = (*RefCntblBaseRD)->getDestructor(); in visitCXXRecordDecl()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DUsedDeclVisitor.h55 const_cast<CXXDestructorDecl *>(E->getTemporary()->getDestructor())); in VisitCXXBindTemporaryExpr()
H A DSemaCUDA.cpp537 return isEmptyCudaDestructor(Loc, RD->getDestructor()); in isEmptyCudaDestructor()
547 return isEmptyCudaDestructor(Loc, RD->getDestructor()); in isEmptyCudaDestructor()
598 return S.isEmptyCudaDestructor(VD->getLocation(), RD->getDestructor()); in HasAllowedCUDADeviceStaticInitializer()
H A DSemaExceptionSpec.cpp1069 if (auto *Dtor = RD->getDestructor()) { in canVarDeclThrow()
1219 const CXXDestructorDecl *DD = RD->getDestructor(); in canThrow()
1233 canCalleeThrow(*this, BTE, BTE->getTemporary()->getDestructor()); in canThrow()
H A DSemaCoroutine.cpp668 checkDeclNoexcept(Ctor->getParent()->getDestructor(), true); in checkNoThrow()
680 dyn_cast<CXXRecordDecl>(T->getDecl())->getDestructor(), true); in checkNoThrow()
H A DSemaDeclCXX.cpp5586 CXXDestructorDecl *Dtor = ClassDecl->getDestructor(); in MarkBaseAndMemberDestructorsReferenced()
6538 } else if (const auto *DD = D->getDestructor()) { in canPassInRegisters()
6695 CXXDestructorDecl *dtor = Record->getDestructor(); in CheckCompletedCXXClass()
6712 if (const CXXDestructorDecl *dtor = Record->getDestructor()) { in CheckCompletedCXXClass()
6857 if (CXXDestructorDecl *Dtor = Record->getDestructor()) in CheckCompletedCXXClass()
9359 *Selected = RD->getDestructor(); in findTrivialSpecialMember()
14214 UserDeclaredOperation = RD->getDestructor(); in diagnoseDeprecatedCopyOperation()
17484 CXXDestructorDecl *DD = Class->getDestructor(); in MarkVTableUsed()
17493 MarkFunctionReferenced(Loc, Class->getDestructor()); in MarkVTableUsed()
H A DSema.cpp2033 if (CXXDestructorDecl *DD = RD->getDestructor()) { in checkEscapingByref()
H A DSemaLookup.cpp3103 CXXDestructorDecl *DD = RD->getDestructor(); in LookupSpecialMember()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCXX.cpp107 const CXXDestructorDecl *BaseD = UniqueBase->getDestructor(); in TryEmitBaseDestructorAsAlias()
H A DCGDeclCXX.cpp110 GlobalDecl(Record->getDestructor(), Dtor_Complete)) || in EmitDeclDestroy()
118 CXXDestructorDecl *Dtor = Record->getDestructor(); in EmitDeclDestroy()
H A DCGClass.cpp517 const CXXDestructorDecl *D = BaseClass->getDestructor(); in Emit()
1366 if (!BaseClassDecl->getDestructor()->hasTrivialBody()) in HasTrivialDestructorBody()
2045 const CXXDestructorDecl *dtor = record->getDestructor(); in destroyCXXObject()
2432 ClassDecl->getDestructor(), in EmitDelegatingCXXConstructorCall()
2473 const CXXDestructorDecl *D = ClassDecl->getDestructor(); in PushDestructorCleanup()
H A DCGExprCXX.cpp1884 auto *Dtor = ElementType->getAsCXXRecordDecl()->getDestructor(); in EmitDestroyingObjectDelete()
1918 Dtor = RD->getDestructor(); in EmitObjectDelete()
H A DCodeGenModule.cpp3014 if (RD->getDestructor() && !RD->getDestructor()->hasAttr<DLLImportAttr>()) in HasNonDllImportDtor()
3076 if (const auto *D = E->getTemporary()->getDestructor()) in VisitCXXBindTemporaryExpr()
H A DCGDecl.cpp1988 CXXDestructorDecl *dtor = type->getAsCXXRecordDecl()->getDestructor(); in emitAutoVarTypeCleanup()
H A DCGBlocks.cpp1729 if (const CXXDestructorDecl *DD = RD->getDestructor()) in cxxDestructorCanThrow()
/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRFindingAction.cpp177 USRSet.insert(getUSRForDecl(RecordDecl->getDestructor())); in addUSRsOfCtorDtors()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp561 auto *Dtor = getDestructor(); in hasConstexprDestructor()
1887 CXXDestructorDecl *CXXRecordDecl::getDestructor() const { in getDestructor() function in CXXRecordDecl
2026 if (const auto *Dtor = Def->getDestructor()) in isEffectivelyFinal()
2120 CXXMethodDecl *MD = RD->getDestructor(); in getCorrespondingMethodDeclaredInClass()
H A DJSONNodeDumper.cpp1404 if (const CXXDestructorDecl *Dtor = Temp->getDestructor()) in VisitCXXBindTemporaryExpr()
H A DStmtProfile.cpp1900 const_cast<CXXDestructorDecl *>(S->getTemporary()->getDestructor())); in VisitCXXBindTemporaryExpr()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCXX.cpp711 const CXXDestructorDecl *DtorDecl = RecordDecl->getDestructor(); in VisitCXXDestructor()
H A DExprEngine.cpp1000 const CXXDestructorDecl *Dtor = RD->getDestructor(); in ProcessDeleteDtor()
/freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/
H A DCFG.cpp4834 const CXXDestructorDecl *Dtor = E->getTemporary()->getDestructor(); in VisitCXXBindTemporaryExprForTemporaryDtors()
5049 return classDecl->getDestructor(); in getDestructorDecl()
5057 return classDecl->getDestructor(); in getDestructorDecl()
5063 return temp->getDestructor(); in getDestructorDecl()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DDeclCXX.h1479 CXXDestructorDecl *getDestructor() const;
H A DExprCXX.h1391 const CXXDestructorDecl *getDestructor() const { return Destructor; } in getDestructor() function

12