Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DDeleteWithNonVirtualDtorChecker.cpp82 if (BaseClass->getDestructor()->isVirtual()) in checkPreStmt()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DRefCntblBaseVirtualDtorChecker.cpp84 const auto *Dtor = (*RefCntblBaseRD)->getDestructor(); in visitCXXRecordDecl()
/netbsd-src/external/apache2/llvm/dist/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()
584 isEmptyCudaDestructor(VD->getLocation(), RD->getDestructor()); in checkAllowedCUDAInitializer()
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.cpp688 checkDeclNoexcept(Ctor->getParent()->getDestructor(), true); in checkNoThrow()
700 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()
9352 *Selected = RD->getDestructor(); in findTrivialSpecialMember()
14021 UserDeclaredOperation = RD->getDestructor(); in diagnoseDeprecatedCopyOperation()
17279 CXXDestructorDecl *DD = Class->getDestructor(); in MarkVTableUsed()
17288 MarkFunctionReferenced(Loc, Class->getDestructor()); in MarkVTableUsed()
H A DSema.cpp1963 if (CXXDestructorDecl *DD = RD->getDestructor()) { in checkEscapingByref()
H A DSemaLookup.cpp3103 CXXDestructorDecl *DD = RD->getDestructor(); in LookupSpecialMember()
/netbsd-src/external/apache2/llvm/dist/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.cpp520 const CXXDestructorDecl *D = BaseClass->getDestructor(); in Emit()
1369 if (!BaseClassDecl->getDestructor()->hasTrivialBody()) in HasTrivialDestructorBody()
2047 const CXXDestructorDecl *dtor = record->getDestructor(); in destroyCXXObject()
2434 ClassDecl->getDestructor(), in EmitDelegatingCXXConstructorCall()
2475 const CXXDestructorDecl *D = ClassDecl->getDestructor(); in PushDestructorCleanup()
H A DCGExprCXX.cpp1881 auto *Dtor = ElementType->getAsCXXRecordDecl()->getDestructor(); in EmitDestroyingObjectDelete()
1915 Dtor = RD->getDestructor(); in EmitObjectDelete()
H A DCodeGenModule.cpp2984 if (RD->getDestructor() && !RD->getDestructor()->hasAttr<DLLImportAttr>()) in HasNonDllImportDtor()
3046 if (const auto *D = E->getTemporary()->getDestructor()) in VisitCXXBindTemporaryExpr()
H A DCGDecl.cpp1985 CXXDestructorDecl *dtor = type->getAsCXXRecordDecl()->getDestructor(); in emitAutoVarTypeCleanup()
H A DCGBlocks.cpp1729 if (const CXXDestructorDecl *DD = RD->getDestructor()) in cxxDestructorCanThrow()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/Rename/
H A DUSRFindingAction.cpp177 USRSet.insert(getUSRForDecl(RecordDecl->getDestructor())); in addUSRsOfCtorDtors()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DDeclCXX.cpp557 auto *Dtor = getDestructor(); in hasConstexprDestructor()
1878 CXXDestructorDecl *CXXRecordDecl::getDestructor() const { in getDestructor() function in CXXRecordDecl
1893 if (const CXXDestructorDecl *Destructor = getDestructor()) in isAnyDestructorNoReturn()
2040 if (const auto *Dtor = Def->getDestructor()) in isEffectivelyFinal()
2134 CXXMethodDecl *MD = RD->getDestructor(); in getCorrespondingMethodDeclaredInClass()
H A DJSONNodeDumper.cpp1359 if (const CXXDestructorDecl *Dtor = Temp->getDestructor()) in VisitCXXBindTemporaryExpr()
H A DStmtProfile.cpp1883 const_cast<CXXDestructorDecl *>(S->getTemporary()->getDestructor())); in VisitCXXBindTemporaryExpr()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A DCFG.cpp4827 const CXXDestructorDecl *Dtor = E->getTemporary()->getDestructor(); in VisitCXXBindTemporaryExprForTemporaryDtors()
5042 return classDecl->getDestructor(); in getDestructorDecl()
5050 return classDecl->getDestructor(); in getDestructorDecl()
5056 return temp->getDestructor(); in getDestructorDecl()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DDeclCXX.h1478 CXXDestructorDecl *getDestructor() const;
H A DExprCXX.h1391 const CXXDestructorDecl *getDestructor() const { return Destructor; } in getDestructor() function

12