Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DRecord.h73 const CXXDestructorDecl *getDestructor() const { in getDestructor() function
75 return CXXDecl->getDestructor(); in getDestructor()
H A DInterp.cpp1131 if (const CXXDestructorDecl *Dtor = R->getDestructor(); in runRecordDestructor()
1174 if (const CXXDestructorDecl *DD = RD->getDestructor()) in hasVirtualDestructor()
1244 if (const CXXDestructorDecl *DD = RD->getDestructor()) in Free()
H A DDescriptor.cpp511 const CXXDestructorDecl *Dtor = ElemRecord->getDestructor(); in hasTrivialDtor()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DUsedDeclVisitor.h55 const_cast<CXXDestructorDecl *>(E->getTemporary()->getDestructor())); in VisitCXXBindTemporaryExpr()
H A DSemaTypeTraits.cpp164 CXXDestructorDecl *Dtr = D->getDestructor(); in IsDefaultMovable()
1168 const CXXDestructorDecl *Dtor = RD->getDestructor(); in EvaluateUnaryTypeTrait()
2079 if (CXXDestructorDecl *Dtr = D->getDestructor()) { in DiagnoseNonDefaultMovable()
2112 << D->getDestructor()->getSourceRange(); in DiagnoseNonTriviallyRelocatableReason()
2165 << D->getDestructor()->getSourceRange(); in DiagnoseNonReplaceableReason()
2254 CXXDestructorDecl *Dtr = D->getDestructor(); in DiagnoseNonTriviallyCopyableReason()
2258 << !D->hasDeletedDestructor() << D->getDestructor()->getSourceRange(); in DiagnoseNonTriviallyCopyableReason()
H A DSemaCUDA.cpp600 return isEmptyDestructor(Loc, RD->getDestructor()); in isEmptyDestructor()
610 return isEmptyDestructor(Loc, RD->getDestructor()); in isEmptyDestructor()
663 return S.isEmptyDestructor(VD->getLocation(), RD->getDestructor()); in HasAllowedCUDADeviceStaticInitializer()
H A DSemaExceptionSpec.cpp1064 if (auto *Dtor = RD->getDestructor()) { in canVarDeclThrow()
1217 if (const CXXDestructorDecl *DD = RD->getDestructor(); in canThrow()
1236 canCalleeThrow(*this, BTE, BTE->getTemporary()->getDestructor()); in canThrow()
H A DSema.cpp1887 if (CXXDestructorDecl *MemberDtor = ClassDecl->getDestructor()) in VisitCalledDestructors()
1897 if (CXXDestructorDecl *BaseDtor = BaseDecl->getDestructor()) in VisitCalledDestructors()
1912 if (CXXDestructorDecl *Dtor = ClassDecl->getDestructor()) in VisitDeclStmt()
2397 if (CXXDestructorDecl *DD = RD->getDestructor()) { in checkEscapingByref()
H A DSemaCoroutine.cpp634 checkDeclNoexcept(Ctor->getParent()->getDestructor(), /*IsDtor=*/true); in checkNoThrow()
646 checkDeclNoexcept(cast<CXXRecordDecl>(T->getDecl())->getDestructor(), in checkNoThrow()
H A DSemaFunctionEffects.cpp1113 if (CXXDestructorDecl *Dtor = Class->getDestructor(); in followTypeDtor()
H A DSemaDeclCXX.cpp5366 CXXDestructorDecl *Dtor = ClassDecl->getDestructor(); in MarkBaseDestructorsReferenced()
6849 } else if (const auto *DD = D->getDestructor()) { in canPassInRegisters()
6999 CXXDestructorDecl *dtor = Record->getDestructor(); in CheckCompletedCXXClass()
7016 if (const CXXDestructorDecl *dtor = Record->getDestructor()) { in CheckCompletedCXXClass()
7200 if (CXXDestructorDecl *Dtor = Record->getDestructor()) in CheckCompletedCXXClass()
10043 *Selected = RD->getDestructor(); in findTrivialSpecialMember()
15128 UserDeclaredOperation = RD->getDestructor(); in diagnoseDeprecatedCopyOperation()
18990 CXXDestructorDecl *DD = Class->getDestructor(); in MarkVTableUsed()
18999 MarkFunctionReferenced(Loc, Class->getDestructor()); in MarkVTableUsed()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCXXDeleteChecker.cpp119 if (BaseClass->getDestructor()->isVirtual()) in checkTypedDeleteExpr()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCXX.cpp110 const CXXDestructorDecl *BaseD = UniqueBase->getDestructor(); in TryEmitBaseDestructorAsAlias()
H A DCGClass.cpp515 const CXXDestructorDecl *D = BaseClass->getDestructor(); in Emit()
1363 if (!BaseClassDecl->getDestructor()->hasTrivialBody()) in HasTrivialDestructorBody()
2123 const CXXDestructorDecl *dtor = record->getDestructor(); in destroyCXXObject()
2511 ClassDecl->getDestructor(), in EmitDelegatingCXXConstructorCall()
2552 const CXXDestructorDecl *D = ClassDecl->getDestructor(); in PushDestructorCleanup()
H A DCGDeclCXX.cpp112 GlobalDecl(Record->getDestructor(), Dtor_Complete)) || in EmitDeclDestroy()
120 CXXDestructorDecl *Dtor = Record->getDestructor(); in EmitDeclDestroy()
H A DCGCoroutine.cpp163 const auto *Dtor = TE->getTemporary()->getDestructor(); in StmtCanThrow()
H A DCGExprCXX.cpp1943 auto *Dtor = ElementType->getAsCXXRecordDecl()->getDestructor(); in EmitDestroyingObjectDelete()
1977 Dtor = RD->getDestructor(); in EmitObjectDelete()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRFindingAction.cpp168 USRSet.insert(getUSRForDecl(RecordDecl->getDestructor())); in addUSRsOfCtorDtors()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DRefCntblBaseVirtualDtorChecker.cpp318 const auto *Dtor = C->getDestructor(); in visitCXXRecordDecl()
H A DPtrTypesSemantics.cpp782 if (!TrivialFunctionAnalysis::isTrivialImpl(Temp->getDestructor(), Cache)) in VisitCXXBindTemporaryExpr()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp608 auto *Dtor = getDestructor(); in hasConstexprDestructor()
2133 CXXDestructorDecl *CXXRecordDecl::getDestructor() const { in getDestructor() function in CXXRecordDecl
2154 if (const CXXDestructorDecl *D = getDestructor()) in hasDeletedDestructor()
2321 if (const auto *Dtor = Def->getDestructor()) in isEffectivelyFinal()
2420 CXXMethodDecl *MD = RD->getDestructor(); in getCorrespondingMethodDeclaredInClass()
H A DJSONNodeDumper.cpp1565 if (const CXXDestructorDecl *Dtor = Temp->getDestructor()) in VisitCXXBindTemporaryExpr()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DCFG.cpp5220 const CXXDestructorDecl *Dtor = E->getTemporary()->getDestructor(); in VisitCXXBindTemporaryExprForTemporaryDtors()
5435 return classDecl->getDestructor(); in getDestructorDecl()
5443 return classDecl->getDestructor(); in getDestructorDecl()
5449 return temp->getDestructor(); in getDestructorDecl()
5461 return classDecl->getDestructor(); in getDestructorDecl()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCXX.cpp839 const CXXDestructorDecl *DtorDecl = RecordDecl->getDestructor(); in VisitCXXDestructor()
H A DExprEngine.cpp1425 const CXXDestructorDecl *Dtor = RD->getDestructor(); in ProcessDeleteDtor()
1435 return RD->getDestructor(); in ProcessDeleteDtor()

12