Home
last modified time | relevance | path

Searched refs:NumStmts (Results 1 – 3 of 3) sorted by relevance

/external/clang/lib/AST/
DStmt.cpp259 CompoundStmtBits.NumStmts = Stmts.size(); in CompoundStmt()
260 assert(CompoundStmtBits.NumStmts == Stmts.size() && in CompoundStmt()
272 void CompoundStmt::setStmts(ASTContext &C, Stmt **Stmts, unsigned NumStmts) { in setStmts() argument
275 this->CompoundStmtBits.NumStmts = NumStmts; in setStmts()
277 Body = new (C) Stmt*[NumStmts]; in setStmts()
278 memcpy(Body, Stmts, sizeof(Stmt *) * NumStmts); in setStmts()
/external/clang/include/clang/AST/
DStmt.h138 unsigned NumStmts : 32 - NumStmtBits; variable
551 CompoundStmtBits.NumStmts = 0; in CompoundStmt()
557 CompoundStmtBits.NumStmts = 0; in CompoundStmt()
560 void setStmts(ASTContext &C, Stmt **Stmts, unsigned NumStmts);
562 bool body_empty() const { return CompoundStmtBits.NumStmts == 0; } in body_empty()
563 unsigned size() const { return CompoundStmtBits.NumStmts; } in size()
613 return child_range(&Body[0], &Body[0]+CompoundStmtBits.NumStmts); in children()
617 return child_range(&Body[0], &Body[0]+CompoundStmtBits.NumStmts); in children()
/external/clang/lib/Serialization/
DASTReaderStmt.cpp134 unsigned NumStmts = Record[Idx++]; in VisitCompoundStmt() local
135 while (NumStmts--) in VisitCompoundStmt()