Home
last modified time | relevance | path

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

12

/external/clang/lib/CodeGen/
DMicrosoftCXXABI.cpp92 bool requiresArrayCookie(const CXXNewExpr *expr);
97 const CXXNewExpr *expr,
113 bool MicrosoftCXXABI::requiresArrayCookie(const CXXNewExpr *expr) { in requiresArrayCookie()
139 const CXXNewExpr *expr, in InitializeArrayCookie()
DCGCXXABI.h75 virtual bool requiresArrayCookie(const CXXNewExpr *E);
210 virtual CharUnits GetArrayCookieSize(const CXXNewExpr *expr);
224 const CXXNewExpr *expr,
DCGCXXABI.cpp147 CharUnits CGCXXABI::GetArrayCookieSize(const CXXNewExpr *expr) { in GetArrayCookieSize()
161 const CXXNewExpr *expr, in InitializeArrayCookie()
178 bool CGCXXABI::requiresArrayCookie(const CXXNewExpr *expr) { in requiresArrayCookie()
DCGExprCXX.cpp535 const CXXNewExpr *E) { in CalculateCookiePadding()
548 const CXXNewExpr *e, in EmitCXXNewAllocSize()
830 CodeGenFunction::EmitNewArrayInitializer(const CXXNewExpr *E, in EmitNewArrayInitializer()
951 static void EmitNewInitializer(CodeGenFunction &CGF, const CXXNewExpr *E, in EmitNewInitializer()
1115 const CXXNewExpr *E, in EnterNewDeleteCleanup()
1152 llvm::Value *CodeGenFunction::EmitCXXNewExpr(const CXXNewExpr *E) { in EmitCXXNewExpr()
1183 CXXNewExpr::const_arg_iterator placementArg = E->placement_arg_begin(); in EmitCXXNewExpr()
1206 for (CXXNewExpr::const_arg_iterator placementArgsEnd = E->placement_arg_end(); in EmitCXXNewExpr()
DItaniumCXXABI.cpp117 const CXXNewExpr *expr,
157 const CXXNewExpr *expr,
809 const CXXNewExpr *expr, in InitializeArrayCookie()
875 const CXXNewExpr *expr, in InitializeArrayCookie()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DCallEvent.h708 CXXAllocatorCall(const CXXNewExpr *E, ProgramStateRef St, in CXXAllocatorCall()
716 virtual const CXXNewExpr *getOriginExpr() const { in getOriginExpr()
717 return cast<CXXNewExpr>(AnyFunctionCall::getOriginExpr()); in getOriginExpr()
933 getCXXAllocatorCall(const CXXNewExpr *E, ProgramStateRef State, in getCXXAllocatorCall()
DExprEngine.h34 class CXXNewExpr; variable
392 void VisitCXXNewExpr(const CXXNewExpr *CNE, ExplodedNode *Pred,
/external/clang/lib/AST/
DExprCXX.cpp63 CXXNewExpr::CXXNewExpr(ASTContext &C, bool globalNew, FunctionDecl *operatorNew, in CXXNewExpr() function in CXXNewExpr
115 void CXXNewExpr::AllocateArgsArray(ASTContext &C, bool isArray, in AllocateArgsArray()
125 bool CXXNewExpr::shouldNullCheckAllocation(ASTContext &Ctx) const { in shouldNullCheckAllocation()
130 SourceLocation CXXNewExpr::getEndLoc() const { in getEndLoc()
DStmtPrinter.cpp1377 void StmtPrinter::VisitCXXNewExpr(CXXNewExpr *E) { in VisitCXXNewExpr()
1405 CXXNewExpr::InitializationStyle InitStyle = E->getInitializationStyle(); in VisitCXXNewExpr()
1407 if (InitStyle == CXXNewExpr::CallInit) in VisitCXXNewExpr()
1410 if (InitStyle == CXXNewExpr::CallInit) in VisitCXXNewExpr()
DItaniumMangle.cpp2497 const CXXNewExpr *New = cast<CXXNewExpr>(E); in mangleExpression()
2500 for (CXXNewExpr::const_arg_iterator I = New->placement_arg_begin(), in mangleExpression()
2507 if (New->getInitializationStyle() == CXXNewExpr::ListInit) in mangleExpression()
2521 } else if (New->getInitializationStyle() == CXXNewExpr::ListInit && in mangleExpression()
DStmtProfile.cpp835 void StmtProfiler::VisitCXXNewExpr(const CXXNewExpr *S) { in VisitCXXNewExpr()
/external/clang/lib/Sema/
DSemaFixItUtils.cpp73 isa<CXXNewExpr>(Expr) || in tryToFixConversion()
DSemaExprCXX.cpp1023 static bool isLegalArrayNewInitializer(CXXNewExpr::InitializationStyle Style, in isLegalArrayNewInitializer()
1034 else if (Style == CXXNewExpr::ListInit) { in isLegalArrayNewInitializer()
1056 CXXNewExpr::InitializationStyle initStyle; in BuildCXXNew()
1059 initStyle = CXXNewExpr::CallInit; in BuildCXXNew()
1061 initStyle = CXXNewExpr::ListInit; in BuildCXXNew()
1073 initStyle = CXXNewExpr::NoInit; in BuildCXXNew()
1078 if (initStyle == CXXNewExpr::CallInit) { in BuildCXXNew()
1096 if (initStyle == CXXNewExpr::NoInit || NumInits == 0) in BuildCXXNew()
1099 if (initStyle == CXXNewExpr::ListInit) in BuildCXXNew()
1137 if (initStyle == CXXNewExpr::ListInit && isStdInitializerList(AllocType, 0)) { in BuildCXXNew()
[all …]
DSemaExceptionSpec.cpp916 CT = canCalleeThrow(*this, E, cast<CXXNewExpr>(E)->getOperatorNew()); in canThrow()
/external/clang/include/clang/Basic/
DStmtNodes.td111 def CXXNewExpr : DStmt<Expr>;
/external/clang/lib/StaticAnalyzer/Core/
DCallEvent.cpp252 || isa<CXXNewExpr>(S); in isCallStmt()
884 return getCXXAllocatorCall(cast<CXXNewExpr>(CallSite), State, CallerCtx); in getCaller()
DExprEngineCXX.cpp208 void ExprEngine::VisitCXXNewExpr(const CXXNewExpr *CNE, ExplodedNode *Pred, in VisitCXXNewExpr()
DExprEngineCallAndReturn.cpp386 if (isa<CXXNewExpr>(Parent)) in inlineCall()
DExprEngine.cpp748 const CXXNewExpr *NE = cast<CXXNewExpr>(S); in Visit()
/external/clang/include/clang/AST/
DExprCXX.h1455 class CXXNewExpr : public Expr {
1501 CXXNewExpr(ASTContext &C, bool globalNew, FunctionDecl *operatorNew,
1508 explicit CXXNewExpr(EmptyShell Shell) in CXXNewExpr() function
1558 return const_cast<CXXNewExpr*>(this)->getPlacementArg(i); in getPlacementArg()
1634 static bool classof(const CXXNewExpr *) { return true; } in classof() argument
/external/v8/tools/gcmole/
Dgcmole.cc556 VISIT(CXXNewExpr); in VisitExpr()
712 DECL_VISIT_EXPR(CXXNewExpr) { in DECL_VISIT_EXPR() argument
/external/clang/lib/Serialization/
DASTReaderStmt.cpp1233 void ASTStmtReader::VisitCXXNewExpr(CXXNewExpr *E) { in VisitCXXNewExpr()
1251 for (CXXNewExpr::raw_arg_iterator I = E->raw_arg_begin(),e = E->raw_arg_end(); in VisitCXXNewExpr()
2095 S = new (Context) CXXNewExpr(Empty); in ReadStmtFromStream()
DASTWriterStmt.cpp1226 void ASTStmtWriter::VisitCXXNewExpr(CXXNewExpr *E) { in VisitCXXNewExpr()
1239 for (CXXNewExpr::arg_iterator I = E->raw_arg_begin(), e = E->raw_arg_end(); in VisitCXXNewExpr()
/external/clang/lib/Edit/
DRewriteObjCFoundationAPI.cpp764 isa<CXXNewExpr>(Expr) || in castOperatorNeedsParens()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h580 const internal::VariadicDynCastAllOfMatcher<Stmt, CXXNewExpr> newExpr;

12