Lines Matching defs:new
51 void *Stmt::operator new(size_t bytes, ASTContext& C,
53 return ::operator new(bytes, C, alignment);
56 void *Stmt::operator new(size_t bytes, ASTContext* C,
58 return ::operator new(bytes, *C, alignment);
267 Body = new (C) Stmt*[Stmts.size()];
276 Body = new (C) Stmt*[NumStmts];
290 return new (Mem) AttributedStmt(Loc, Attrs, SubStmt);
298 return new (Mem) AttributedStmt(EmptyShell(), NumAttrs);
424 this->Names = new (C) IdentifierInfo*[NumExprs];
428 this->Exprs = new (C) Stmt*[NumExprs];
432 this->Constraints = new (C) StringLiteral*[NumExprs];
436 this->Clobbers = new (C) StringLiteral*[NumClobbers];
660 Names = new (C) IdentifierInfo*[NumExprs];
663 Exprs = new (C) Stmt*[NumExprs];
666 Constraints = new (C) StringLiteral*[NumExprs];
669 Clobbers = new (C) StringLiteral*[NumClobbers];
686 Names = new (C) IdentifierInfo*[NumExprs];
690 Exprs = new (C) Stmt*[NumExprs];
694 AsmToks = new (C) Token[NumAsmToks];
698 Constraints = new (C) StringRef[NumExprs];
701 char *dest = new (C) char[size];
706 Clobbers = new (C) StringRef[NumClobbers];
710 char *dest = new (C) char[size];
751 return new (Mem) ObjCAtTryStmt(atTryLoc, atTryStmt, CatchStmts, NumCatchStmts,
761 return new (Mem) ObjCAtTryStmt(EmptyShell(), NumCatchStmts, HasFinally);
778 return new (Mem) CXXTryStmt(tryLoc, tryBlock, handlers);
787 return new (Mem) CXXTryStmt(Empty, numHandlers);
857 SubExprs[VAR] = new (C) DeclStmt(DeclGroupRef(V), VarRange.getBegin(),
888 SubExprs[CONDVAR] = new (C) DeclStmt(DeclGroupRef(V), VarRange.getBegin(),
915 SubExprs[VAR] = new (C) DeclStmt(DeclGroupRef(V), VarRange.getBegin(),
949 SubExprs[VAR] = new (C) DeclStmt(DeclGroupRef(V), VarRange.getBegin(),
986 return new(C) SEHTryStmt(IsCXXTry,TryLoc,TryBlock,Handler);
1011 return new(C) SEHExceptStmt(Loc,FilterExpr,Block);
1024 return new(C)SEHFinallyStmt(Loc,Block);