Home
last modified time | relevance | path

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

12

/external/clang/lib/StaticAnalyzer/Core/
DExprEngineCXX.cpp44 assert(Ctor->getDecl()->isTrivial()); in performTrivialCopy()
49 assert(cast<CXXMethodDecl>(Call.getDecl())->isTrivial()); in performTrivialCopy()
335 if (CE->getConstructor()->isTrivial() && in VisitCXXConstructExpr()
DExprEngineCallAndReturn.cpp901 return MD->isTrivial(); in isTrivialObjectAssignment()
/external/clang/lib/Analysis/
DThreadSafetyTIL.cpp112 if (til::ThreadSafetyTIL::isTrivial(V->definition())) { in simplifyToCanonicalVal()
DThreadSafetyCommon.cpp613 if (!E || !CurrentBB || E->block() || til::ThreadSafetyTIL::isTrivial(E)) in addStatement()
/external/clang/lib/CodeGen/
DCGCXXABI.cpp50 assert(CD->isTrivial()); in canCopyArgument()
DCGClass.cpp670 if (D->isTrivial() && !D->getParent()->mayInsertExtraPadding()) in isMemcpyEquivalentSpecialMember()
1811 assert((!DD->isTrivial() || DD->hasAttr<DLLExportAttr>()) && in EnterDtorCleanups()
2043 assert(!dtor->isTrivial()); in destroyCXXObject()
2062 if (D->isTrivial() && D->isDefaultConstructor()) { in EmitCXXConstructorCall()
DCGExprCXX.cpp176 if (MD->isTrivial() || (MD->isDefaulted() && MD->getParent()->isUnion())) { in EmitCXXMemberOrOperatorMemberCallExpr()
459 if (CD->isTrivial() && CD->isDefaultConstructor()) in EmitCXXConstructExpr()
959 if (Ctor->isTrivial()) { in EmitNewArrayInitializer()
DCGExprConstant.cpp918 if (!E->getConstructor()->isTrivial()) in VisitCXXConstructExpr()
1189 if (CD->isTrivial() && CD->isDefaultConstructor()) in EmitConstantInit()
DCGExprAgg.cpp394 Cons->getConstructor()->isTrivial(); in isTrivialFiller()
DCGObjC.cpp826 return (construct->getConstructor()->isTrivial()); in hasTrivialGetExpr()
1131 if (callee->isTrivial()) in hasTrivialSetExpr()
DCGDecl.cpp1159 if (Constructor->isTrivial() && in isTrivialInitializer()
DMicrosoftCXXABI.cpp832 assert(CD->isTrivial()); in getRecordArgABI()
4130 if (!DtorD->isTrivial()) in getThrowInfo()
DCGCall.cpp2900 assert(!Dtor->isTrivial()); in Emit()
/external/clang/lib/AST/
DDeclCXX.cpp594 } else if (Method->isTrivial()) in addedMember()
954 if (!D->isTrivial() || D->getAccess() != AS_public || D->isDeleted()) in finishedDefaultedOrDeletedMember()
963 if (D->isTrivial()) in finishedDefaultedOrDeletedMember()
DExpr.cpp2796 if (CE->getConstructor()->isTrivial() && in isConstantInitializer()
3152 if (!CE->getConstructor()->isTrivial() && IncludePossibleEffects) in HasSideEffects()
3229 if (Method->isTrivial()) { in VisitCallExpr()
3240 if (E->getConstructor()->isTrivial()) { in VisitCXXConstructExpr()
3250 if (E->getTemporary()->getDestructor()->isTrivial()) { in VisitCXXBindTemporaryExpr()
DRecordLayoutBuilder.cpp2097 return RD->isTrivial() && RD->isStandardLayout(); in mustSkipTailPadding()
DExprConstant.cpp3715 if (!CD->isTrivial() || !CD->isDefaultConstructor()) in CheckTrivialDefaultConstructor()
3830 (MD->isTrivial() && hasFields(MD->getParent())))) { in HandleFunctionCall()
3902 (Definition->isTrivial() && hasFields(Definition->getParent())))) { in HandleConstructorCall()
DType.cpp2290 if (!ClassDecl->isTrivial()) return false; in isCXX11PODType()
/external/clang/lib/Sema/
DJumpDiagnostics.cpp189 if (Ctor->isTrivial() && Ctor->isDefaultConstructor() && in GetDiagForGotoScopeDecl()
DSemaDeclCXX.cpp4702 } else if (!MD->isTrivial() || MD->isExplicitlyDefaulted() || in ReferenceDllExportedMethods()
5550 !Decl->isTrivial()) { in shouldDeleteForSubobjectCall()
5994 return SMOR->getMethod()->isTrivial(); in findTrivialSpecialMember()
9851 if (CE && CE->getMethodDecl()->isTrivial() && Depth) in buildSingleCopyAssignRecursively()
10531 if (!SMOR->getMethod() || SMOR->getMethod()->isTrivial() || in checkMoveAssignmentForRepeatedMove()
11419 if (Destructor->isTrivial()) return; in FinalizeVarWithDestructor()
12052 if (!construct->getConstructor()->isTrivial()) { in BuildExceptionDeclaration()
DSemaObjCProperty.cpp1319 if (!FuncDecl->isTrivial()) in ActOnPropertyImplDecl()
DSemaExprCXX.cpp806 if (CD->isTrivial()) in CheckCXXThrowOperand()
5449 if (Destructor->isTrivial()) in MaybeBindToTemporary()
/external/clang/include/clang/AST/
DDeclCXX.h1297 bool isTrivial() const { in isTrivial() function
DDecl.h1812 bool isTrivial() const { return IsTrivial; } in isTrivial() function
/external/clang/include/clang/Analysis/Analyses/
DThreadSafetyTIL.h321 inline bool isTrivial(const SExpr *E) { in isTrivial() function

12