Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/Format/
H A DUnwrappedLineFormatter.cpp647 unsigned NumStmts = 0; in tryMergeShortCaseLabels() local
653 for (; NumStmts < 3; ++NumStmts) { in tryMergeShortCaseLabels()
654 if (I + 1 + NumStmts == E) in tryMergeShortCaseLabels()
656 const AnnotatedLine *Line = I[1 + NumStmts]; in tryMergeShortCaseLabels()
671 SmallVectorImpl<AnnotatedLine *>::const_iterator J = I + 2 + NumStmts; in tryMergeShortCaseLabels()
685 Length += I[1 + NumStmts]->Last->TotalLength + 1; // 1 for the space. in tryMergeShortCaseLabels()
687 if (NumStmts == 0 || NumStmts == 3 || Length > Limit) in tryMergeShortCaseLabels()
689 return NumStmts; in tryMergeShortCaseLabels()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DStmt.cpp368 CompoundStmtBits.NumStmts = Stmts.size(); in CompoundStmt()
376 assert(CompoundStmtBits.NumStmts == Stmts.size() && in setStmts()
392 CompoundStmt *CompoundStmt::CreateEmpty(const ASTContext &C, unsigned NumStmts, in CreateEmpty() argument
395 totalSizeToAlloc<Stmt *, FPOptionsOverride>(NumStmts, HasFPFeatures), in CreateEmpty()
398 New->CompoundStmtBits.NumStmts = NumStmts; in CreateEmpty()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DStmt.h138 unsigned NumStmts; variable
1443 return CompoundStmtBits.NumStmts; in numTrailingObjects()
1454 CompoundStmtBits.NumStmts = 0; in CompoundStmt()
1459 static CompoundStmt *CreateEmpty(const ASTContext &C, unsigned NumStmts,
1462 bool body_empty() const { return CompoundStmtBits.NumStmts == 0; } in body_empty()
1463 unsigned size() const { return CompoundStmtBits.NumStmts; } in size()
/openbsd-src/gnu/llvm/clang/lib/Serialization/
H A DASTReaderStmt.cpp155 unsigned NumStmts = Record.readInt(); in VisitCompoundStmt() local
158 while (NumStmts--) in VisitCompoundStmt()