Home
last modified time | relevance | path

Searched refs:hasTrivialDestructor (Results 1 – 25 of 34) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DConstructionContext.cpp55 ->hasTrivialDestructor() || in createMaterializedTemporaryFromLayers()
112 ->getAsCXXRecordDecl()->hasTrivialDestructor()); in createBoundTemporaryFromLayers()
122 ->getAsCXXRecordDecl()->hasTrivialDestructor()); in createBoundTemporaryFromLayers()
155 ->getAsCXXRecordDecl()->hasTrivialDestructor()); in createBoundTemporaryFromLayers()
H A DCFG.cpp1353 bool hasTrivialDestructor(const VarDecl *VD) const;
1899 if (BuildOpts.AddImplicitDtors && !hasTrivialDestructor(VD)) in addAutomaticObjDestruction()
2022 if (CD && !CD->hasTrivialDestructor()) { in addImplicitDtorsForDestructor()
2032 if (CD && !CD->hasTrivialDestructor()) { in addImplicitDtorsForDestructor()
2051 if (!CD->hasTrivialDestructor()) { in addImplicitDtorsForDestructor()
2107 return !hasTrivialDestructor(VD) || VD->hasAttr<CleanupAttr>(); in needsAutomaticDestruction()
2110 bool CFGBuilder::hasTrivialDestructor(const VarDecl *VD) const { in hasTrivialDestructor() function in CFGBuilder
2146 return !CD->hasDefinition() || CD->hasTrivialDestructor(); in hasTrivialDestructor()
4876 if (RD->isCompleteDefinition() && !RD->hasTrivialDestructor()) in VisitCXXDeleteExpr()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugLoc.h69 bool hasTrivialDestructor() const { return Loc.hasTrivialDestructor(); } in hasTrivialDestructor() function
H A DTrackingMDRef.h75 bool hasTrivialDestructor() const { in hasTrivialDestructor() function
138 bool hasTrivialDestructor() const { return Ref.hasTrivialDestructor(); } in hasTrivialDestructor() function
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCXX.cpp90 if (Base->hasTrivialDestructor()) continue; in TryEmitBaseDestructorAsAlias()
H A DCGClass.cpp585 !BaseClassDecl->hasTrivialDestructor()) in EmitBaseInitializer()
1348 if (BaseClassDecl->hasTrivialDestructor()) in HasTrivialDestructorBody()
1890 if (BaseClassDecl->hasTrivialDestructor()) { in EnterDtorCleanups()
1924 if (BaseClassDecl->hasTrivialDestructor()) { in EnterDtorCleanups()
2069 !ctor->getParent()->hasTrivialDestructor()) { in EmitCXXAggrConstructorCall()
2486 if (CGM.getLangOpts().Exceptions && !ClassDecl->hasTrivialDestructor()) { in EmitDelegatingCXXConstructorCall()
2530 if (ClassDecl->hasTrivialDestructor()) return; in PushDestructorCleanup()
H A DCGBlocks.cpp423 if (!record->hasTrivialDestructor()) return false; in isSafeForCXXConstantCapture()
623 if (CI.hasCopyExpr() || !record->hasTrivialDestructor()) { in computeBlockInfo()
2463 if (!copyExpr && record->hasTrivialDestructor()) return nullptr; in buildByrefHelpers()
H A DCGDeclCXX.cpp118 assert(!Record->hasTrivialDestructor()); in EmitDeclDestroy()
H A DCGExprAgg.cpp270 !cast<CXXRecordDecl>(Record)->hasTrivialDestructor())) in TypeRequiresGCollection()
H A DCGExprCXX.cpp1941 if (RD->hasDefinition() && !RD->hasTrivialDestructor()) { in EmitObjectDelete()
H A DCGDecl.cpp1531 if ((CXXRD && !CXXRD->hasTrivialDestructor()) || in EmitAutoVarAlloca()
H A DCGExpr.cpp340 if (!ClassDecl->hasTrivialDestructor()) in pushTemporaryCleanup()
5611 assert(E->getType()->getAsCXXRecordDecl()->hasTrivialDestructor() in EmitCXXConstructLValue()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp420 if (!BaseClassDecl->hasTrivialDestructor()) in setBases()
585 if (!hasTrivialDestructor()) return false; in isTriviallyCopyable()
597 if (!hasTrivialDestructor()) in isTriviallyCopyConstructible()
1228 if (!FieldRec->hasTrivialDestructor()) in addedMember()
1389 : hasTrivialDestructor())) in isLiteral()
H A DJSONNodeDumper.cpp467 FIELD2("trivial", hasTrivialDestructor); in createDestructorDefinitionData()
H A DType.cpp128 if (!Record->hasTrivialDestructor() && !ExcludeDtor) in isNonConstantStorage()
4789 if (CXXRD->hasDefinition() && !CXXRD->hasTrivialDestructor()) in isDestructedTypeImpl()
H A DTextNodeDumper.cpp2292 FLAG(hasTrivialDestructor, trivial); in VisitCXXRecordDecl()
H A DDecl.cpp5098 else if (CXXRD->hasTrivialDestructor()) in mayInsertExtraPadding()
H A DExpr.cpp3302 CE->getConstructor()->getParent()->hasTrivialDestructor()) { in isConstantInitializer()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineInstr.cpp101 assert(DbgLoc.hasTrivialDestructor() && "Expected trivial destructor"); in MachineInstr()
120 assert(DbgLoc.hasTrivialDestructor() && "Expected trivial destructor"); in MachineInstr()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCallAndReturn.cpp883 if (Ctor.getDecl()->getParent()->hasTrivialDestructor()) in mayInlineCallKind()
H A DExprEngine.cpp3493 if (!RD->hasTrivialDestructor()) { in processPointerEscapedOnBind()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineInstr.h1830 assert(DbgLoc.hasTrivialDestructor() && "Expected trivial destructor");
H A DSelectionDAGNodes.h1108 assert(debugLoc.hasTrivialDestructor() && "Expected trivial destructor");
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaLambda.cpp1930 !RD->hasTrivialDestructor(); in CaptureHasSideEffects()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DDeclCXX.h1366 bool hasTrivialDestructor() const { in hasTrivialDestructor() function

12