Home
last modified time | relevance | path

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

12

/freebsd/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.cpp1441 bool hasTrivialDestructor(const VarDecl *VD) const;
1983 if (BuildOpts.AddImplicitDtors && !hasTrivialDestructor(VD)) in addAutomaticObjDestruction()
2106 if (CD && !CD->hasTrivialDestructor()) { in addImplicitDtorsForDestructor()
2116 if (CD && !CD->hasTrivialDestructor()) { in addImplicitDtorsForDestructor()
2137 if (!CD->hasTrivialDestructor()) { in addImplicitDtorsForDestructor()
2193 return !hasTrivialDestructor(VD) || VD->hasAttr<CleanupAttr>(); in needsAutomaticDestruction()
2196 bool CFGBuilder::hasTrivialDestructor(const VarDecl *VD) const { in hasTrivialDestructor() function in CFGBuilder
2232 return !CD->hasDefinition() || CD->hasTrivialDestructor(); in hasTrivialDestructor()
4983 if (RD->isCompleteDefinition() && !RD->hasTrivialDestructor()) in VisitCXXDeleteExpr()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DTrackingMDRef.h75 bool hasTrivialDestructor() const { in hasTrivialDestructor() function
138 bool hasTrivialDestructor() const { return Ref.hasTrivialDestructor(); } in hasTrivialDestructor() function
H A DDebugLoc.h244 bool hasTrivialDestructor() const { return Loc.hasTrivialDestructor(); }
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCXX.cpp88 if (Base->hasTrivialDestructor()) continue; in TryEmitBaseDestructorAsAlias()
H A DCGClass.cpp589 !BaseClassDecl->hasTrivialDestructor()) in EmitBaseInitializer()
1360 if (BaseClassDecl->hasTrivialDestructor()) in HasTrivialDestructorBody()
1903 if (BaseClassDecl->hasTrivialDestructor()) { in EnterDtorCleanups()
1937 if (BaseClassDecl->hasTrivialDestructor()) { in EnterDtorCleanups()
2084 !ctor->getParent()->hasTrivialDestructor()) { in EmitCXXAggrConstructorCall()
2506 if (CGM.getLangOpts().Exceptions && !ClassDecl->hasTrivialDestructor()) { in EmitDelegatingCXXConstructorCall()
2550 if (ClassDecl->hasTrivialDestructor()) return; in PushDestructorCleanup()
H A DCGBlocks.cpp432 if (!record->hasTrivialDestructor()) return false; in isSafeForCXXConstantCapture()
631 if (CI.hasCopyExpr() || !record->hasTrivialDestructor()) { in computeBlockInfo()
2563 if (!copyExpr && record->hasTrivialDestructor()) return nullptr; in buildByrefHelpers()
H A DCGDeclCXX.cpp119 assert(!Record->hasTrivialDestructor()); in EmitDeclDestroy()
H A DCGExprCXX.cpp1976 if (RD->hasDefinition() && !RD->hasTrivialDestructor()) { in EmitObjectDelete()
H A DCGExprAgg.cpp278 !cast<CXXRecordDecl>(Record)->hasTrivialDestructor())) in TypeRequiresGCollection()
H A DCGDecl.cpp1572 if ((CXXRD && !CXXRD->hasTrivialDestructor()) || in EmitAutoVarAlloca()
H A DCGExpr.cpp401 ClassDecl && !ClassDecl->hasTrivialDestructor()) in pushTemporaryCleanup()
6173 assert(E->getType()->getAsCXXRecordDecl()->hasTrivialDestructor() in EmitCXXConstructLValue()
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenClass.cpp388 if (cgm.getLangOpts().Exceptions && !classDecl->hasTrivialDestructor()) { in emitDelegatingCXXConstructorCall()
H A DCIRGenFunction.cpp302 return classDecl->hasTrivialDestructor(); in mayDropFunctionReturn()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp422 if (!BaseClassDecl->hasTrivialDestructor()) in setBases()
631 if (!hasTrivialDestructor()) return false; in isTriviallyCopyable()
643 if (!hasTrivialDestructor()) in isTriviallyCopyConstructible()
1318 if (!FieldRec->hasTrivialDestructor()) in addedMember()
1516 : hasTrivialDestructor())) in isLiteral()
H A DJSONNodeDumper.cpp499 FIELD2("trivial", hasTrivialDestructor); in createDestructorDefinitionData()
H A DType.cpp163 if (!Record->hasTrivialDestructor() && !ExcludeDtor) in isNonConstantStorage()
5309 if (CXXRD->hasDefinition() && !CXXRD->hasTrivialDestructor()) in isDestructedTypeImpl()
H A DTextNodeDumper.cpp2705 FLAG(hasTrivialDestructor, trivial); in VisitCXXRecordDecl()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTypeTraits.cpp995 return RD->hasTrivialDestructor(); in EvaluateUnaryTypeTrait()
1172 if (RD->hasTrivialDestructor() && (!Dtor || !Dtor->isDeleted())) in EvaluateUnaryTypeTrait()
H A DSemaLambda.cpp2017 !RD->hasTrivialDestructor(); in CaptureHasSideEffects()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCallAndReturn.cpp884 if (Ctor.getDecl()->getParent()->hasTrivialDestructor()) in mayInlineCallKind()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineInstr.cpp104 assert(DbgLoc.hasTrivialDestructor() && "Expected trivial destructor"); in MachineInstr()
124 assert(DbgLoc.hasTrivialDestructor() && "Expected trivial destructor"); in MachineInstr()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineInstr.h1894 assert(DbgLoc.hasTrivialDestructor() && "Expected trivial destructor");
H A DSelectionDAGNodes.h1207 assert(debugLoc.hasTrivialDestructor() && "Expected trivial destructor");
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclCXX.h1375 bool hasTrivialDestructor() const { in hasTrivialDestructor() function

12