Searched refs:NumAttrs (Results 1 – 7 of 7) sorted by relevance
298 unsigned NumAttrs; ///< Number of attributes in this node. variable321 unsigned getNumAttributes() const { return NumAttrs; } in getNumAttributes()327 bool hasAttributes() const { return NumAttrs != 0; } in hasAttributes()351 iterator end() const { return begin() + NumAttrs; } in end()
1242 : NumAttrs(Attrs.size()) { in AttributeSetNode()
671 unsigned NumAttrs = in EmitAttributes() local674 NumAttrs += hasFnAttributes(Int); in EmitAttributes()675 if (NumAttrs == 0) { in EmitAttributes()
708 auto NumAttrs = AbbrDecl.getNumAttributes(); in updateForIndex() local709 if (Index < NumAttrs) { in updateForIndex()726 assert(Index == NumAttrs && "Indexes should be [0, NumAttrs) only"); in updateForIndex()
177 unsigned NumAttrs : 32 - NumStmtBits;2215 AttributedStmtBits.NumAttrs = Attrs.size();2220 explicit AttributedStmt(EmptyShell Empty, unsigned NumAttrs)2222 AttributedStmtBits.NumAttrs = NumAttrs;2224 std::fill_n(getAttrArrayPtr(), NumAttrs, nullptr);2235 static AttributedStmt *CreateEmpty(const ASTContext &C, unsigned NumAttrs);2239 return {getAttrArrayPtr(), AttributedStmtBits.NumAttrs};
442 unsigned NumAttrs) { in CreateEmpty() argument443 assert(NumAttrs > 0 && "NumAttrs should be greater than zero"); in CreateEmpty()444 void *Mem = C.Allocate(totalSizeToAlloc<const Attr *>(NumAttrs), in CreateEmpty()446 return new (Mem) AttributedStmt(EmptyShell(), NumAttrs); in CreateEmpty()
204 uint64_t NumAttrs = Record.readInt(); in VisitAttributedStmt() local207 (void)NumAttrs; in VisitAttributedStmt()208 assert(NumAttrs == S->AttributedStmtBits.NumAttrs); in VisitAttributedStmt()209 assert(NumAttrs == Attrs.size()); in VisitAttributedStmt()