Home
last modified time | relevance | path

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

123

/NextBSD/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
HDDynamicTypePropagation.cpp72 case CXXConstructExpr::CK_Complete: in checkPreCall()
73 case CXXConstructExpr::CK_Delegating: in checkPreCall()
76 case CXXConstructExpr::CK_NonVirtualBase: in checkPreCall()
77 case CXXConstructExpr::CK_VirtualBase: in checkPreCall()
155 case CXXConstructExpr::CK_Complete: in checkPostCall()
156 case CXXConstructExpr::CK_Delegating: in checkPostCall()
163 case CXXConstructExpr::CK_NonVirtualBase: in checkPostCall()
164 case CXXConstructExpr::CK_VirtualBase: in checkPostCall()
HDLLVMConventionsChecker.cpp164 CXXConstructExpr *Ex2 = dyn_cast<CXXConstructExpr>(Ex1->getSubExpr()); in VisitVarDecl()
170 CXXConstructExpr *Ex4 = dyn_cast<CXXConstructExpr>(Ex3->getSubExpr()); in VisitVarDecl()
HDStackAddrEscapeChecker.cpp156 if (isa<CXXConstructExpr>(RetE) && RetE->getType()->isRecordType()) in checkPreStmt()
HDDeadStoresChecker.cpp339 if (isa<CXXConstructExpr>(E)) in observeStmt()
/NextBSD/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
HDExprEngineCXX.cpp107 const CXXConstructExpr *CE, ExplodedNode *Pred, ExprEngine &Eng, in getRegionForConstructedObject()
177 void ExprEngine::VisitCXXConstructExpr(const CXXConstructExpr *CE, in VisitCXXConstructExpr()
190 case CXXConstructExpr::CK_Complete: { in VisitCXXConstructExpr()
194 case CXXConstructExpr::CK_VirtualBase: in VisitCXXConstructExpr()
198 const CXXConstructExpr *OuterCtor = dyn_cast<CXXConstructExpr>(Outer); in VisitCXXConstructExpr()
201 case CXXConstructExpr::CK_NonVirtualBase: in VisitCXXConstructExpr()
202 case CXXConstructExpr::CK_VirtualBase: in VisitCXXConstructExpr()
206 case CXXConstructExpr::CK_Complete: in VisitCXXConstructExpr()
207 case CXXConstructExpr::CK_Delegating: in VisitCXXConstructExpr()
213 case CXXConstructExpr::CK_NonVirtualBase: in VisitCXXConstructExpr()
[all …]
HDExprEngineCallAndReturn.cpp199 static bool isTemporaryPRValue(const CXXConstructExpr *E, SVal V) { in isTemporaryPRValue()
265 if (const CXXConstructExpr *CCE = dyn_cast<CXXConstructExpr>(CE)) { in processCallExit()
558 if (isTemporaryPRValue(cast<CXXConstructExpr>(E), ThisV)) in bindReturnValue()
621 const CXXConstructExpr *CtorExpr = Ctor.getOriginExpr(); in mayInlineCallKind()
642 if (CtorExpr->getConstructionKind() == CXXConstructExpr::CK_Complete) in mayInlineCallKind()
HDCallEvent.cpp239 || isa<CXXConstructExpr>(S) in isCallStmt()
943 return getCXXConstructorCall(cast<CXXConstructExpr>(CallSite), in getCaller()
HDExprEngineC.cpp421 if (isa<CXXConstructExpr>(Init)) { in VisitCompoundLiteralExpr()
473 if (isa<CXXConstructExpr>(InitEx->IgnoreImplicit())) { in VisitDeclStmt()
/NextBSD/contrib/llvm/tools/clang/lib/CodeGen/
HDCGExprCXX.cpp394 CodeGenFunction::EmitCXXConstructExpr(const CXXConstructExpr *E, in EmitCXXConstructExpr()
405 case CXXConstructExpr::CK_Delegating: in EmitCXXConstructExpr()
406 case CXXConstructExpr::CK_Complete: in EmitCXXConstructExpr()
409 case CXXConstructExpr::CK_VirtualBase: in EmitCXXConstructExpr()
410 case CXXConstructExpr::CK_NonVirtualBase: in EmitCXXConstructExpr()
441 case CXXConstructExpr::CK_Delegating: in EmitCXXConstructExpr()
447 case CXXConstructExpr::CK_Complete: in EmitCXXConstructExpr()
451 case CXXConstructExpr::CK_VirtualBase: in EmitCXXConstructExpr()
455 case CXXConstructExpr::CK_NonVirtualBase: in EmitCXXConstructExpr()
471 assert(isa<CXXConstructExpr>(Exp) && in EmitSynthesizedCXXCopyCtor()
[all …]
HDCGClass.cpp601 CXXConstructExpr *CE = dyn_cast<CXXConstructExpr>(MemberInit->getInit()); in EmitMemberInitializer()
1035 CXXConstructExpr *CE = dyn_cast<CXXConstructExpr>(MemberInit->getInit()); in isMemberInitMemcpyable()
1658 llvm::Value *arrayBegin, const CXXConstructExpr *E, bool zeroInitialize) { in EmitCXXAggrConstructorCall()
1678 const CXXConstructExpr *E, in EmitCXXAggrConstructorCall()
1778 const CXXConstructExpr *E) { in EmitCXXConstructorCall()
1828 const CXXConstructExpr *E) { in EmitSynthesizedCXXCopyCtorCall()
2349 if (isa<CXXConstructExpr>(Base)) in CanDevirtualizeMemberFunctionCall()
HDCodeGenFunction.h1756 llvm::Value *This, const CXXConstructExpr *E);
1760 const CXXConstructExpr *E);
1765 const CXXConstructExpr *E,
1771 const CXXConstructExpr *E,
2480 LValue EmitCXXConstructLValue(const CXXConstructExpr *E);
2803 void EmitCXXConstructExpr(const CXXConstructExpr *E, AggValueSlot Dest);
HDCGExprAgg.cpp177 void VisitCXXConstructExpr(const CXXConstructExpr *E);
396 if (auto *Cons = dyn_cast_or_null<CXXConstructExpr>(E)) in isTrivialFiller()
994 AggExprEmitter::VisitCXXConstructExpr(const CXXConstructExpr *E) { in VisitCXXConstructExpr()
HDCGObjC.cpp791 if (const CXXConstructExpr *construct = dyn_cast<CXXConstructExpr>(getter)) in hasTrivialGetExpr()
3022 CXXConstructExpr *CXXConstExpr = in GenerateObjCAtomicGetterCopyHelperFunction()
3023 cast<CXXConstructExpr>(PID->getGetterCXXConstructor()); in GenerateObjCAtomicGetterCopyHelperFunction()
3030 CXXConstructExpr *TheCXXConstructExpr = in GenerateObjCAtomicGetterCopyHelperFunction()
3031 CXXConstructExpr::Create(C, Ty, SourceLocation(), in GenerateObjCAtomicGetterCopyHelperFunction()
HDCGExprConstant.cpp915 llvm::Constant *VisitCXXConstructExpr(CXXConstructExpr *E) { in VisitCXXConstructExpr()
1172 if (const CXXConstructExpr *E = in EmitConstantInit()
1173 dyn_cast_or_null<CXXConstructExpr>(D.getInit())) { in EmitConstantInit()
/NextBSD/contrib/llvm/tools/clang/lib/AST/
HDExprCXX.cpp478 SourceLocation CXXConstructExpr::getLocStart() const { in getLocStart()
484 SourceLocation CXXConstructExpr::getLocEnd() const { in getLocEnd()
807 : CXXConstructExpr(C, CXXTemporaryObjectExprClass, in CXXTemporaryObjectExpr()
815 CXXConstructExpr::CK_Complete, ParenOrBraceRange), in CXXTemporaryObjectExpr()
830 CXXConstructExpr *CXXConstructExpr::Create(const ASTContext &C, QualType T, in Create()
840 return new (C) CXXConstructExpr(C, CXXConstructExprClass, T, Loc, D, in Create()
848 CXXConstructExpr::CXXConstructExpr(const ASTContext &C, StmtClass SC, in CXXConstructExpr() function in CXXConstructExpr
HDDeclPrinter.cpp552 } else if (CXXConstructExpr *Construct in VisitFunctionDecl()
553 = dyn_cast<CXXConstructExpr>(Init)) { in VisitFunctionDecl()
705 if (CXXConstructExpr *Construct = in VisitVarDecl()
706 dyn_cast<CXXConstructExpr>(Init->IgnoreImplicit())) { in VisitVarDecl()
HDItaniumMangle.cpp2850 if (const CXXConstructExpr *CCE = dyn_cast<CXXConstructExpr>(Init)) { in mangleExpression()
2852 for (CXXConstructExpr::const_arg_iterator I = CCE->arg_begin(), in mangleExpression()
2952 const auto *CE = cast<CXXConstructExpr>(E); in mangleExpression()
2958 return mangleExpression(cast<CXXConstructExpr>(E)->getArg(0)); in mangleExpression()
3158 if (auto *CCE = dyn_cast<CXXConstructExpr>(Sub)) in mangleExpression()
/NextBSD/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
HDCallEvent.h698 CXXConstructorCall(const CXXConstructExpr *CE, const MemRegion *Target, in CXXConstructorCall()
710 virtual const CXXConstructExpr *getOriginExpr() const { in getOriginExpr()
711 return cast<CXXConstructExpr>(AnyFunctionCall::getOriginExpr()); in getOriginExpr()
966 getCXXConstructorCall(const CXXConstructExpr *E, const MemRegion *Target, in getCXXConstructorCall()
HDExprEngine.h33 class CXXConstructExpr; variable
431 void VisitCXXConstructExpr(const CXXConstructExpr *E, ExplodedNode *Pred,
/NextBSD/contrib/llvm/tools/clang/include/clang/Basic/
HDStmtNodes.td123 def CXXConstructExpr : DStmt<Expr>;
126 def CXXTemporaryObjectExpr : DStmt<CXXConstructExpr>;
/NextBSD/contrib/llvm/tools/clang/include/clang/AST/
HDExprCXX.h1075 class CXXConstructExpr : public Expr {
1099 CXXConstructExpr(const ASTContext &C, StmtClass SC, QualType T,
1111 CXXConstructExpr(StmtClass SC, EmptyShell Empty) in CXXConstructExpr() function
1119 explicit CXXConstructExpr(EmptyShell Empty) in CXXConstructExpr() function
1126 static CXXConstructExpr *Create(const ASTContext &C, QualType T,
1196 return const_cast<CXXConstructExpr *>(this)->getArgs(); in getArgs()
1295 class CXXTemporaryObjectExpr : public CXXConstructExpr {
1308 : CXXConstructExpr(CXXTemporaryObjectExprClass, Empty), Type() { } in CXXTemporaryObjectExpr()
1759 const CXXConstructExpr* getConstructExpr() const { in getConstructExpr()
1760 return dyn_cast_or_null<CXXConstructExpr>(getInitializer()); in getConstructExpr()
/NextBSD/contrib/llvm/tools/clang/include/clang/ASTMatchers/
HDASTMatchers.h981 CXXConstructExpr> constructExpr;
2463 CXXConstructExpr, in AST_POLYMORPHIC_MATCHER_P() argument
2479 CXXConstructExpr, in AST_POLYMORPHIC_MATCHER_P2() argument
2640 CXXConstructExpr), in AST_POLYMORPHIC_MATCHER_P() argument
2653 AST_MATCHER(CXXConstructExpr, isListInitialization) { in AST_MATCHER() argument
/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSemaFixItUtils.cpp74 isa<CXXConstructExpr>(Expr) || in tryToFixConversion()
HDJumpDiagnostics.cpp184 if (const CXXConstructExpr *CCE = dyn_cast<CXXConstructExpr>(Init)) { in GetDiagForGotoScopeDecl()
/NextBSD/contrib/llvm/tools/clang/lib/Analysis/
HDThreadSafety.cpp1497 void VisitCXXConstructExpr(CXXConstructExpr *Exp);
1967 void BuildLockset::VisitCXXConstructExpr(CXXConstructExpr *Exp) { in VisitCXXConstructExpr()
1987 if (CXXConstructExpr *CE = dyn_cast_or_null<CXXConstructExpr>(E)) { in VisitDeclStmt()

123