Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DUsedDeclVisitor.h84 asImpl().visitUsedDecl(E->getBeginLoc(), E->getConstructor()); in VisitCXXConstructExpr()
85 CXXConstructorDecl *D = E->getConstructor(); in VisitCXXConstructExpr()
H A DCheckExprLifetime.cpp433 const auto *LHSRecordDecl = Ctor->getConstructor()->getParent(); in shouldTrackFirstArgumentForConstructor()
440 if (Ctor->getConstructor()->param_empty() || in shouldTrackFirstArgumentForConstructor()
495 Ctor->getConstructor()->getPrimaryTemplate(); in shouldTrackFirstArgumentForConstructor()
571 Callee = CCE->getConstructor(); in visitFunctionCallArguments()
690 VisitGSLPointerArg(Ctor->getConstructor(), Arg); in visitFunctionCallArguments()
1011 if (CCE->getConstructor()->isCopyOrMoveConstructor()) { in visitLocalsRetainedByInitializer()
1015 CCE->getConstructor()}); in visitLocalsRetainedByInitializer()
H A DSemaCUDA.cpp557 return isEmptyConstructor(Loc, CE->getConstructor()); in isEmptyConstructor()
650 return S.isEmptyConstructor(VD->getLocation(), CE->getConstructor()); in HasAllowedCUDADeviceStaticInitializer()
710 InitFn = CE->getConstructor(); in checkAllowedInitializer()
H A DSemaExceptionSpec.cpp1169 CanThrowResult CT = canCalleeThrow(*this, CE, CE->getConstructor()); in canThrow()
1177 return canCalleeThrow(*this, ICIE, ICIE->getConstructor()); in canThrow()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/
H A DAnyCall.h89 : E(NE), D(NE->getConstructor()), K(Constructor) {} in AnyCall()
92 : E(CIE), D(CIE->getConstructor()), K(InheritedConstructor) {} in AnyCall()
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/
H A DLowLevelHelpers.cpp20 return D.getConstructor(); in getCallee()
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenExprAggregate.cpp99 return cons->getConstructor()->isDefaultConstructor() && in isTrivialFiller()
100 cons->getConstructor()->isTrivial(); in isTrivialFiller()
H A DCIRGenClass.cpp465 emitCallArgs(args, fpt, e->arguments(), e->getConstructor(), in emitCXXConstructorCall()
H A DCIRGenDecl.cpp69 if (CXXConstructorDecl *constructor = construct->getConstructor()) in isTrivialInitializer()
H A DCIRGenExprConstant.cpp587 const CXXConstructorDecl *cd = e->getConstructor(); in tryEmitPrivateForVarInit()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DRawPtrRefLambdaCapturesChecker.cpp150 if (auto *Callee = CE->getConstructor()) { in checkASTDecl()
302 auto *Ctor = CE->getConstructor(); in checkASTDecl()
H A DASTUtils.cpp48 if (auto *C = tempExpr->getConstructor()) { in tryToFindPtrOrigin()
H A DPtrTypesSemantics.cpp759 return IsFunctionTrivial(CE->getConstructor()); in VisitCXXConstructExpr()
763 return IsFunctionTrivial(E->getConstructor()); in VisitCXXInheritedCtorInitExpr()
H A DForwardDeclChecker.cpp230 if (auto *F = CE->getConstructor()) { in visitConstructExpr()
H A DRawPtrRefLocalVarsChecker.cpp70 if (auto *Ctor = CE->getConstructor()) { in VisitCXXConstructExpr()
H A DRetainPtrCtorAdoptChecker.cpp298 auto *Ctor = CE->getConstructor(); in visitConstructExpr()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DCallGraph.cpp96 CXXConstructorDecl *Ctor = E->getConstructor(); in VisitCXXConstructExpr()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCallEvent.h1018 return getOriginExpr()->getConstructor(); in getDecl()
1078 return getOriginExpr()->getConstructor(); in getDecl()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexBody.cpp373 return IndexCtx.handleReference(E->getConstructor(), E->getLocation(), in VisitCXXConstructExpr()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCXX.cpp749 if (CE && CE->getConstructor()->isTrivial() && in handleConstructor()
750 CE->getConstructor()->isCopyOrMoveConstructor() && in handleConstructor()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprCXX.cpp603 const CXXConstructorDecl *CD = E->getConstructor(); in EmitCXXConstructExpr()
682 const CXXConstructorDecl *CD = E->getConstructor(); in EmitSynthesizedCXXCopyCtor()
1185 CXXConstructorDecl *Ctor = CCE->getConstructor(); in EmitNewArrayInitializer()
H A DCGClass.cpp665 (CE && isMemcpyEquivalentSpecialMember(CE->getConstructor()))) { in EmitMemberInitializer()
1069 if (!(CE && isMemcpyEquivalentSpecialMember(CE->getConstructor())) && in isMemberInitMemcpyable()
2172 EmitCallArgs(Args, FPT, E->arguments(), E->getConstructor(), in EmitCXXConstructorCall()
2418 EmitCallArgs(Args, FPT, drop_begin(E->arguments(), 1), E->getConstructor(), in EmitSynthesizedCXXCopyCtorCall()
H A DCGExprAgg.cpp488 return Cons->getConstructor()->isDefaultConstructor() && in isTrivialFiller()
489 Cons->getConstructor()->isTrivial(); in isTrivialFiller()
1499 E->getConstructor(), E->constructsVBase(), Slot.getAddress(), in VisitCXXInheritedCtorInitExpr()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp2007 return cast<CXXConstructExpr>(SubExpr)->getConstructor(); in getConversionFunction()
2818 if (const CXXConstructorDecl *Ctor = CE->getConstructor()) { in isUnusedResultAWarning()
3357 if (CE->getConstructor()->isTrivial() && in isConstantInitializer()
3358 CE->getConstructor()->getParent()->hasTrivialDestructor()) { in isConstantInitializer()
3825 if (!CE->getConstructor()->isTrivial() && IncludePossibleEffects) in HasSideEffects()
3834 if (!ICIE->getConstructor()->isTrivial() && IncludePossibleEffects) in HasSideEffects()
3931 if (E->getConstructor()->isTrivial()) { in VisitCXXConstructExpr()
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DTransfer.cpp529 const CXXConstructorDecl *ConstructorDecl = S->getConstructor(); in VisitCXXConstructExpr()

123