Searched refs:isTrivial (Results 1 – 25 of 26) sorted by relevance
12
58 assert(Ctor->getDecl()->isTrivial()); in performTrivialCopy()63 assert(cast<CXXMethodDecl>(Call.getDecl())->isTrivial()); in performTrivialCopy()205 if (CE->getConstructor()->isTrivial() && in VisitCXXConstructExpr()
764 return MD->isTrivial(); in isTrivialObjectAssignment()
581 (CE && CE->getConstructor()->isTrivial())) { in EmitMemberInitializer()910 if (!(CE && CE->getConstructor()->isTrivial()) && in isMemberInitMemcpyable()1016 MD->isTrivial())) in getMemcpyableField()1406 assert(!DD->isTrivial() && in EnterDtorCleanups()1625 assert(!dtor->isTrivial()); in destroyCXXObject()1649 if (D->isTrivial()) { in EmitCXXConstructorCall()1678 if (D->isTrivial()) { in EmitSynthesizedCXXCopyCtorCall()
237 if (MD->isTrivial()) { in EmitCXXMemberCallExpr()388 MD->isTrivial()) { in EmitCXXOperatorMemberCallExpr()473 if (CD->isTrivial() && CD->isDefaultConstructor()) in EmitCXXConstructExpr()980 if (Ctor->isTrivial()) { in EmitNewInitializer()
837 if (!E->getConstructor()->isTrivial()) in VisitCXXConstructExpr()1021 if (CD->isTrivial() && CD->isDefaultConstructor() && in EmitConstantInit()
743 return (construct->getConstructor()->isTrivial()); in hasTrivialGetExpr()1043 if (callee->isTrivial()) in hasTrivialSetExpr()
997 if (Constructor->isTrivial() && in isTrivialInitializer()
507 hasTrivialFiller = cons->getConstructor()->isTrivial(); in EmitArrayInit()
946 if (RD->hasMutableFields() || !RD->isTrivial()) in isConstantEmittableObjectType()
2645 if (CE->getConstructor()->isTrivial()) { in isConstantInitializer()2881 if (!CE->getConstructor()->isTrivial()) in HasSideEffects()2956 if (Method->isTrivial()) { in VisitCallExpr()2967 if (E->getConstructor()->isTrivial()) { in VisitCXXConstructExpr()2977 if (E->getTemporary()->getDestructor()->isTrivial()) { in VisitCXXBindTemporaryExpr()
574 } else if (Method->isTrivial()) in addedMember()908 if (D->isTrivial()) in finishedDefaultedOrDeletedMember()
486 setFlag("trivial", D->isTrivial()); in visitFunctionDeclAttrs()
1273 if (!ClassDecl->isTrivial()) return false; in isCXX11PODType()
2085 if (!CD->isTrivial() || !CD->isDefaultConstructor()) in CheckTrivialDefaultConstructor()2201 ((Definition->isCopyConstructor() && Definition->isTrivial()) || in HandleConstructorCall()2202 (Definition->isMoveConstructor() && Definition->isTrivial()))) { in HandleConstructorCall()
2450 return RD->isTrivial() && RD->isStandardLayout(); in mustSkipTailPadding()
2739 ToFunction->setTrivial(D->isTrivial()); in VisitFunctionDecl()
201 if (ctor->isTrivial() && ctor->isDefaultConstructor()) { in GetDiagForGotoScopeDecl()
1187 if (!FuncDecl->isTrivial()) in ActOnPropertyImplDecl()
4565 !Decl->isTrivial()) { in shouldDeleteForSubobjectCall()5008 return SMOR->getMethod()->isTrivial(); in findTrivialSpecialMember()8237 if (CE && CE->getMethodDecl()->isTrivial() && Depth) in buildSingleCopyAssignRecursively()10318 if (!construct->getConstructor()->isTrivial()) { in BuildExceptionDeclaration()
1322 if (!CD->isTrivial()) in ShouldDiagnoseUnusedDecl()2457 NewMethod->setTrivial(OldMethod->isTrivial()); in MergeFunctionDecl()
4730 if (Destructor->isTrivial()) in MaybeBindToTemporary()
10493 if (Constructor->isTrivial()) in MarkFunctionReferenced()10989 ->isTrivial()) { in tryCaptureVariable()
1206 bool isTrivial() const {
1629 bool isTrivial() const { return IsTrivial; } in isTrivial() function
329 Record.push_back(D->isTrivial()); in VisitFunctionDecl()