Searched defs:NumAttrs (Results 1 - 6 of 6) sorted by relevance
/external/llvm/lib/IR/ |
H A D | AttributeImpl.h | 145 unsigned NumAttrs; ///< Number of attributes in this node. member in class:llvm::AttributeSetNode 147 AttributeSetNode(ArrayRef<Attribute> Attrs) : NumAttrs(Attrs.size()) { 161 bool hasAttributes() const { return NumAttrs != 0; } 173 iterator end() const { return begin() + NumAttrs; } 194 unsigned NumAttrs; ///< Number of entries in this set. member in class:llvm::AttributeSetImpl 207 : Context(C), NumAttrs(Attrs.size()) { 226 unsigned getNumAttributes() const { return NumAttrs; }
|
H A D | Attributes.cpp | 771 uint64_t NumAttrs = pImpl->getNumAttributes(); local 774 for (unsigned I = 0, E = NumAttrs; I != E; ++I) { 798 for (unsigned I = LastIndex, E = NumAttrs; I < E; ++I) 824 uint64_t NumAttrs = pImpl->getNumAttributes(); local 827 for (unsigned I = 0, E = NumAttrs; I != E; ++I) { 849 for (unsigned I = LastIndex, E = NumAttrs; I < E; ++I)
|
/external/clang/lib/AST/ |
H A D | Stmt.cpp | 321 unsigned NumAttrs) { 322 assert(NumAttrs > 0 && "NumAttrs should be greater than zero"); 323 void *Mem = C.Allocate(sizeof(AttributedStmt) + sizeof(Attr *) * NumAttrs, 325 return new (Mem) AttributedStmt(EmptyShell(), NumAttrs); 320 CreateEmpty(const ASTContext &C, unsigned NumAttrs) argument
|
/external/clang/include/clang/AST/ |
H A D | Stmt.h | 831 unsigned NumAttrs; member in class:clang::AttributedStmt 837 NumAttrs(Attrs.size()) { 841 explicit AttributedStmt(EmptyShell Empty, unsigned NumAttrs) argument 842 : Stmt(AttributedStmtClass, Empty), NumAttrs(NumAttrs) { 843 memset(getAttrArrayPtr(), 0, NumAttrs * sizeof(Attr *)); 855 static AttributedStmt *CreateEmpty(const ASTContext &C, unsigned NumAttrs); 859 return llvm::makeArrayRef(getAttrArrayPtr(), NumAttrs);
|
/external/clang/lib/Serialization/ |
H A D | ASTReaderStmt.cpp | 173 uint64_t NumAttrs = Record[Idx++]; local 176 (void)NumAttrs; 177 assert(NumAttrs == S->NumAttrs); 178 assert(NumAttrs == Attrs.size()); 2332 /*NumAttrs*/Record[ASTStmtReader::NumStmtFields]);
|
/external/clang/tools/c-index-test/ |
H A D | c-index-test.c | 415 unsigned NumAttrs; local 420 NumAttrs = clang_HTMLStartTag_getNumAttrs(Comment); 421 if (NumAttrs != 0) { 423 for (i = 0; i != NumAttrs; ++i) {
|
Completed in 236 milliseconds