Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/Format/
H A DUnwrappedLineFormatter.cpp514 unsigned NumStmts = 0; in tryMergeShortCaseLabels() local
519 for (; NumStmts < 3; ++NumStmts) { in tryMergeShortCaseLabels()
520 if (I + 1 + NumStmts == E) in tryMergeShortCaseLabels()
522 const AnnotatedLine *Line = I[1 + NumStmts]; in tryMergeShortCaseLabels()
534 SmallVectorImpl<AnnotatedLine *>::const_iterator J = I + 2 + NumStmts; in tryMergeShortCaseLabels()
548 Length += I[1 + NumStmts]->Last->TotalLength + 1; // 1 for the space. in tryMergeShortCaseLabels()
550 if (NumStmts == 0 || NumStmts == 3 || Length > Limit) in tryMergeShortCaseLabels()
552 return NumStmts; in tryMergeShortCaseLabels()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DStmt.cpp367 CompoundStmtBits.NumStmts = Stmts.size(); in CompoundStmt()
373 assert(CompoundStmtBits.NumStmts == Stmts.size() && in setStmts()
387 unsigned NumStmts) { in CreateEmpty() argument
389 C.Allocate(totalSizeToAlloc<Stmt *>(NumStmts), alignof(CompoundStmt)); in CreateEmpty()
391 New->CompoundStmtBits.NumStmts = NumStmts; in CreateEmpty()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DStmt.h130 unsigned NumStmts : 32 - NumStmtBits; variable
1418 CompoundStmtBits.NumStmts = 0; in CompoundStmt()
1423 static CompoundStmt *CreateEmpty(const ASTContext &C, unsigned NumStmts);
1425 bool body_empty() const { return CompoundStmtBits.NumStmts == 0; } in body_empty()
1426 unsigned size() const { return CompoundStmtBits.NumStmts; } in size()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTReaderStmt.cpp155 unsigned NumStmts = Record.readInt(); in VisitCompoundStmt() local
156 while (NumStmts--) in VisitCompoundStmt()