Searched refs:NumAttrs (Results 1 – 6 of 6) sorted by relevance
301 unsigned NumAttrs; ///< Number of attributes in this node. variable324 unsigned getNumAttributes() const { return NumAttrs; } in getNumAttributes()330 bool hasAttributes() const { return NumAttrs != 0; } in hasAttributes()353 iterator end() const { return begin() + NumAttrs; } in end()
1029 : NumAttrs(Attrs.size()) { in AttributeSetNode()
689 auto NumAttrs = AbbrDecl.getNumAttributes(); in updateForIndex() local690 if (Index < NumAttrs) { in updateForIndex()707 assert(Index == NumAttrs && "Indexes should be [0, NumAttrs) only"); in updateForIndex()
175 unsigned NumAttrs : 32 - NumStmtBits;2094 AttributedStmtBits.NumAttrs = Attrs.size();2099 explicit AttributedStmt(EmptyShell Empty, unsigned NumAttrs)2101 AttributedStmtBits.NumAttrs = NumAttrs;2103 std::fill_n(getAttrArrayPtr(), NumAttrs, nullptr);2116 static AttributedStmt *CreateEmpty(const ASTContext &C, unsigned NumAttrs);2120 return llvm::ArrayRef(getAttrArrayPtr(), AttributedStmtBits.NumAttrs);
435 unsigned NumAttrs) { in CreateEmpty() argument436 assert(NumAttrs > 0 && "NumAttrs should be greater than zero"); in CreateEmpty()437 void *Mem = C.Allocate(totalSizeToAlloc<const Attr *>(NumAttrs), in CreateEmpty()439 return new (Mem) AttributedStmt(EmptyShell(), NumAttrs); in CreateEmpty()
208 uint64_t NumAttrs = Record.readInt(); in VisitAttributedStmt() local211 (void)NumAttrs; in VisitAttributedStmt()212 assert(NumAttrs == S->AttributedStmtBits.NumAttrs); in VisitAttributedStmt()213 assert(NumAttrs == Attrs.size()); in VisitAttributedStmt()