Home
last modified time | relevance | path

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

/external/chromium_org/tools/clang/plugins/
DFindBadConstructs.cpp62 return cxx_r->hasTrivialDestructor(); in TypeHasNonTrivialDtor()
248 if (dtor_score >= 10 && !record->hasTrivialDestructor()) { in CheckCtorDtorWeight()
/external/clang/lib/CodeGen/
DCGClass.cpp422 !BaseClassDecl->hasTrivialDestructor()) in EmitBaseInitializer()
1158 if (BaseClassDecl->hasTrivialDestructor()) in HasTrivialDestructorBody()
1445 if (BaseClassDecl->hasTrivialDestructor()) in EnterDtorCleanups()
1470 if (BaseClassDecl->hasTrivialDestructor()) in EnterDtorCleanups()
1594 !ctor->getParent()->hasTrivialDestructor()) { in EmitCXXAggrConstructorCall()
1789 if (CGM.getLangOpts().Exceptions && !ClassDecl->hasTrivialDestructor()) { in EmitDelegatingCXXConstructorCall()
1844 if (ClassDecl->hasTrivialDestructor()) return; in PushDestructorCleanup()
DCGCXX.cpp70 if (Base->hasTrivialDestructor()) continue; in TryEmitBaseDestructorAsAlias()
DCGBlocks.cpp252 if (!record->hasTrivialDestructor()) return false; in isSafeForCXXConstantCapture()
433 if (!record->hasTrivialDestructor()) { in computeBlockInfo()
1526 if (record->hasTrivialDestructor()) in GenerateDestroyHelperFunction()
1928 if (!copyExpr && record->hasTrivialDestructor()) return 0; in buildByrefHelpers()
DCGDeclCXX.cpp95 assert(!record->hasTrivialDestructor()); in EmitDeclDestroy()
DItaniumCXXABI.cpp51 return !RD->hasTrivialDestructor() || RD->hasNonTrivialCopyConstructor(); in isReturnTypeIndirect()
57 if (!RD->hasTrivialDestructor() || RD->hasNonTrivialCopyConstructor()) in getRecordArgABI()
DCGDecl.cpp222 return RD && !RD->hasTrivialDestructor(); in hasNontrivialDestruction()
887 if (!cast<CXXRecordDecl>(RecordTy->getDecl())->hasTrivialDestructor()) { in EmitAutoVarAlloca()
DCGException.cpp471 if (!Record->hasTrivialDestructor()) { in EmitCXXThrowExpr()
DCGExprAgg.cpp228 !cast<CXXRecordDecl>(Record)->hasTrivialDestructor())) in TypeRequiresGCollection()
DCodeGenModule.cpp1485 Record->hasTrivialDestructor(); in isTypeConstant()
1715 bool NeedsGlobalDtor = RD && !RD->hasTrivialDestructor(); in EmitGlobalVarDefinition()
DCGExprConstant.cpp826 if (!RD->hasTrivialDestructor()) in VisitCXXConstructExpr()
DCGExpr.cpp248 if (!ClassDecl->hasTrivialDestructor()) in pushTemporaryCleanup()
2985 assert(E->getType()->getAsCXXRecordDecl()->hasTrivialDestructor() in EmitCXXConstructLValue()
DCGExprCXX.cpp1413 if (RD->hasDefinition() && !RD->hasTrivialDestructor()) { in EmitObjectDelete()
/external/clang/lib/AST/
DDeclCXX.cpp283 if (!BaseClassDecl->hasTrivialDestructor()) in setBases()
394 if (!hasTrivialDestructor()) return false; in isTriviallyCopyable()
765 if (!FieldRec->hasTrivialDestructor()) in addedMember()
DType.cpp2431 if (record && record->hasDefinition() && !record->hasTrivialDestructor()) in isDestructedTypeImpl()
DExpr.cpp2614 CE->getConstructor()->getParent()->hasTrivialDestructor()) { in isConstantInitializer()
DASTContext.cpp4609 if (!copyExpr && record->hasTrivialDestructor()) return false; in BlockRequiresCopying()
/external/clang/lib/Sema/
DJumpDiagnostics.cpp197 if (!Init->isGLValue() && !Record->hasTrivialDestructor()) in GetDiagForGotoScopeDecl()
DSemaDeclCXX.cpp1767 !RD->hasTrivialDestructor(); in InitializationHasSideEffects()
5155 if (RD->hasTrivialDestructor()) in findTrivialSpecialMember()
8383 Destructor->setTrivial(ClassDecl->hasTrivialDestructor()); in DeclareImplicitDestructor()
DSemaType.cpp5162 } else if (!RD->hasTrivialDestructor()) { in RequireLiteralType()
DSemaExprCXX.cpp3306 return RD->hasTrivialDestructor(); in EvaluateUnaryTypeTrait()
DSemaDecl.cpp1326 if (!RD->hasTrivialDestructor() && !RD->hasAttr<WarnUnusedAttr>()) in ShouldDiagnoseUnusedDecl()
8650 if (!(RD && !RD->hasTrivialDestructor()) && in CheckCompleteVariableDeclaration()
/external/clang/include/clang/AST/
DDeclCXX.h1194 bool hasTrivialDestructor() const { in hasTrivialDestructor() function
1248 return hasTrivialDestructor() && in isLiteral()
/external/clang/lib/Analysis/
DCFG.cpp868 if (!CD->hasTrivialDestructor()) { in addImplicitDtorsForDestructor()
879 if (!CD->hasTrivialDestructor()) { in addImplicitDtorsForDestructor()
898 if (!CD->hasTrivialDestructor()) { in addImplicitDtorsForDestructor()
1005 if (!CD->hasTrivialDestructor()) { in addLocalScopeForVarDecl()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngineCallAndReturn.cpp632 if (Ctor.getDecl()->getParent()->hasTrivialDestructor()) in mayInlineCallKind()