Searched refs:NumAttrs (Results 1 – 7 of 7) sorted by relevance
217 unsigned NumAttrs; ///< Number of attributes in this node. variable240 unsigned getNumAttributes() const { return NumAttrs; } in getNumAttributes()246 bool hasAttributes() const { return NumAttrs != 0; } in hasAttributes()267 iterator end() const { return begin() + NumAttrs; } in end()
893 : NumAttrs(Attrs.size()) { in AttributeSetNode()
713 auto NumAttrs = AbbrDecl.getNumAttributes(); in updateForIndex() local714 if (Index < NumAttrs) { in updateForIndex()731 assert(Index == NumAttrs && "Indexes should be [0, NumAttrs) only"); in updateForIndex()
151 unsigned NumAttrs : 32 - NumStmtBits; variable1856 AttributedStmtBits.NumAttrs = Attrs.size(); in AttributedStmt()1861 explicit AttributedStmt(EmptyShell Empty, unsigned NumAttrs) in AttributedStmt() argument1863 AttributedStmtBits.NumAttrs = NumAttrs; in AttributedStmt()1865 std::fill_n(getAttrArrayPtr(), NumAttrs, nullptr); in AttributedStmt()1878 static AttributedStmt *CreateEmpty(const ASTContext &C, unsigned NumAttrs);1882 return llvm::makeArrayRef(getAttrArrayPtr(), AttributedStmtBits.NumAttrs); in getAttrs()
426 unsigned NumAttrs) { in CreateEmpty() argument427 assert(NumAttrs > 0 && "NumAttrs should be greater than zero"); in CreateEmpty()428 void *Mem = C.Allocate(totalSizeToAlloc<const Attr *>(NumAttrs), in CreateEmpty()430 return new (Mem) AttributedStmt(EmptyShell(), NumAttrs); in CreateEmpty()
202 uint64_t NumAttrs = Record.readInt(); in VisitAttributedStmt() local205 (void)NumAttrs; in VisitAttributedStmt()206 assert(NumAttrs == S->AttributedStmtBits.NumAttrs); in VisitAttributedStmt()207 assert(NumAttrs == Attrs.size()); in VisitAttributedStmt()
515 unsigned NumAttrs; in DumpCXCommentInternal() local520 NumAttrs = clang_HTMLStartTag_getNumAttrs(Comment); in DumpCXCommentInternal()521 if (NumAttrs != 0) { in DumpCXCommentInternal()523 for (i = 0; i != NumAttrs; ++i) { in DumpCXCommentInternal()