Home
last modified time | relevance | path

Searched refs:NumAttrs (Results 1 – 7 of 7) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DAttributeImpl.h217 unsigned NumAttrs; ///< Number of attributes in this node. variable
240 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()
H A DAttributes.cpp893 : NumAttrs(Attrs.size()) { in AttributeSetNode()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/DWARF/
H A DDWARFDie.cpp713 auto NumAttrs = AbbrDecl.getNumAttributes(); in updateForIndex() local
714 if (Index < NumAttrs) { in updateForIndex()
731 assert(Index == NumAttrs && "Indexes should be [0, NumAttrs) only"); in updateForIndex()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DStmt.h151 unsigned NumAttrs : 32 - NumStmtBits; variable
1856 AttributedStmtBits.NumAttrs = Attrs.size(); in AttributedStmt()
1861 explicit AttributedStmt(EmptyShell Empty, unsigned NumAttrs) in AttributedStmt() argument
1863 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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DStmt.cpp426 unsigned NumAttrs) { in CreateEmpty() argument
427 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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTReaderStmt.cpp202 uint64_t NumAttrs = Record.readInt(); in VisitAttributedStmt() local
205 (void)NumAttrs; in VisitAttributedStmt()
206 assert(NumAttrs == S->AttributedStmtBits.NumAttrs); in VisitAttributedStmt()
207 assert(NumAttrs == Attrs.size()); in VisitAttributedStmt()
/netbsd-src/external/apache2/llvm/dist/clang/tools/c-index-test/
H A Dc-index-test.c515 unsigned NumAttrs; in DumpCXCommentInternal() local
520 NumAttrs = clang_HTMLStartTag_getNumAttrs(Comment); in DumpCXCommentInternal()
521 if (NumAttrs != 0) { in DumpCXCommentInternal()
523 for (i = 0; i != NumAttrs; ++i) { in DumpCXCommentInternal()