Home
last modified time | relevance | path

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

/external/clang/lib/AST/
DStmt.cpp258 CompoundStmtBits.NumStmts = Stmts.size(); in CompoundStmt()
259 assert(CompoundStmtBits.NumStmts == Stmts.size() && in CompoundStmt()
272 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
559 CompoundStmtBits.NumStmts = 0; in CompoundStmt()
565 CompoundStmtBits.NumStmts = 0; in CompoundStmt()
568 void setStmts(const ASTContext &C, Stmt **Stmts, unsigned NumStmts);
570 bool body_empty() const { return CompoundStmtBits.NumStmts == 0; } in body_empty()
571 unsigned size() const { return CompoundStmtBits.NumStmts; } in size()
631 return child_range(Body, Body + CompoundStmtBits.NumStmts); in children()
635 return child_range(Body, Body + CompoundStmtBits.NumStmts); in children()
/external/clang/lib/Serialization/
DASTReaderStmt.cpp134 unsigned NumStmts = Record[Idx++]; in VisitCompoundStmt() local
135 while (NumStmts--) in VisitCompoundStmt()