Searched refs:NumAttrs (Results 1 – 6 of 6) sorted by relevance
| /minix3/external/bsd/llvm/dist/llvm/lib/IR/ |
| H A D | AttributeImpl.h | 145 unsigned NumAttrs; ///< Number of attributes in this node. variable 147 AttributeSetNode(ArrayRef<Attribute> Attrs) : NumAttrs(Attrs.size()) { in AttributeSetNode() 161 bool hasAttributes() const { return NumAttrs != 0; } in hasAttributes() 173 iterator end() const { return begin() + NumAttrs; } in end() 194 unsigned NumAttrs; ///< Number of entries in this set. variable 207 : Context(C), NumAttrs(Attrs.size()) { in AttributeSetImpl() 226 unsigned getNumAttributes() const { return NumAttrs; } in getNumAttributes()
|
| H A D | Attributes.cpp | 754 uint64_t NumAttrs = pImpl->getNumAttributes(); in addAttributes() local 757 for (unsigned I = 0, E = NumAttrs; I != E; ++I) { in addAttributes() 781 for (unsigned I = LastIndex, E = NumAttrs; I < E; ++I) in addAttributes() 807 uint64_t NumAttrs = pImpl->getNumAttributes(); in removeAttributes() local 810 for (unsigned I = 0, E = NumAttrs; I != E; ++I) { in removeAttributes() 832 for (unsigned I = LastIndex, E = NumAttrs; I < E; ++I) in removeAttributes()
|
| /minix3/external/bsd/llvm/dist/clang/include/clang/AST/ |
| H A D | Stmt.h | 826 unsigned NumAttrs; variable 832 NumAttrs(Attrs.size()) { in AttributedStmt() 836 explicit AttributedStmt(EmptyShell Empty, unsigned NumAttrs) in AttributedStmt() argument 837 : Stmt(AttributedStmtClass, Empty), NumAttrs(NumAttrs) { in AttributedStmt() 838 memset(getAttrArrayPtr(), 0, NumAttrs * sizeof(Attr *)); in AttributedStmt() 850 static AttributedStmt *CreateEmpty(const ASTContext &C, unsigned NumAttrs); 854 return llvm::makeArrayRef(getAttrArrayPtr(), NumAttrs); in getAttrs()
|
| /minix3/external/bsd/llvm/dist/clang/lib/AST/ |
| H A D | Stmt.cpp | 315 unsigned NumAttrs) { in CreateEmpty() argument 316 assert(NumAttrs > 0 && "NumAttrs should be greater than zero"); in CreateEmpty() 317 void *Mem = C.Allocate(sizeof(AttributedStmt) + sizeof(Attr *) * NumAttrs, in CreateEmpty() 319 return new (Mem) AttributedStmt(EmptyShell(), NumAttrs); in CreateEmpty()
|
| /minix3/external/bsd/llvm/dist/clang/lib/Serialization/ |
| H A D | ASTReaderStmt.cpp | 173 uint64_t NumAttrs = Record[Idx++]; in VisitAttributedStmt() local 176 (void)NumAttrs; in VisitAttributedStmt() 177 assert(NumAttrs == S->NumAttrs); in VisitAttributedStmt() 178 assert(NumAttrs == Attrs.size()); in VisitAttributedStmt()
|
| /minix3/external/bsd/llvm/dist/clang/tools/c-index-test/ |
| H A D | c-index-test.c | 415 unsigned NumAttrs; in DumpCXCommentInternal() local 420 NumAttrs = clang_HTMLStartTag_getNumAttrs(Comment); in DumpCXCommentInternal() 421 if (NumAttrs != 0) { in DumpCXCommentInternal() 423 for (i = 0; i != NumAttrs; ++i) { in DumpCXCommentInternal()
|