Home | History | Annotate | Download | only in AST

Lines Matching refs:NumCaptures

976   unsigned Size = sizeof(CapturedStmt) + sizeof(Stmt *) * (NumCaptures + 1);
992 NumCaptures(Captures.size()),
1000 for (unsigned I = 0, N = NumCaptures; I != N; ++I)
1011 CapturedStmt::CapturedStmt(EmptyShell Empty, unsigned NumCaptures)
1012 : Stmt(CapturedStmtClass, Empty), NumCaptures(NumCaptures),
1014 getStoredStmts()[NumCaptures] = nullptr;
1046 unsigned NumCaptures) {
1047 unsigned Size = sizeof(CapturedStmt) + sizeof(Stmt *) * (NumCaptures + 1);
1048 if (NumCaptures > 0) {
1051 Size += sizeof(Capture) * NumCaptures;
1055 return new (Mem) CapturedStmt(EmptyShell(), NumCaptures);
1060 return child_range(getStoredStmts(), getStoredStmts() + NumCaptures);