Searched refs:FieldCount (Results 1 – 3 of 3) sorted by relevance
35 SmallVector<size_t, 4> FieldCount; variable53 void StartClass() { FieldCount.push_back(0); } in StartClass()58 ++FieldCount.back(); in Add()63 assert(!FieldCount.empty() && "no currently-parsed class"); in getCurNumFields()64 return FieldCount.back(); in getCurNumFields()74 FieldCount.pop_back(); in FinishClass()
39 FieldCount(fieldcount), CXXInfo(nullptr) { in ASTRecordLayout()40 if (FieldCount > 0) { in ASTRecordLayout()41 FieldOffsets = new (Ctx) uint64_t[FieldCount]; in ASTRecordLayout()42 memcpy(FieldOffsets, fieldoffsets, FieldCount * sizeof(*FieldOffsets)); in ASTRecordLayout()67 FieldCount(fieldcount), CXXInfo(new (Ctx) CXXRecordLayoutInfo) in ASTRecordLayout()69 if (FieldCount > 0) { in ASTRecordLayout()70 FieldOffsets = new (Ctx) uint64_t[FieldCount]; in ASTRecordLayout()71 memcpy(FieldOffsets, fieldoffsets, FieldCount * sizeof(*FieldOffsets)); in ASTRecordLayout()
77 unsigned FieldCount; variable177 unsigned getFieldCount() const { return FieldCount; } in getFieldCount()182 assert (FieldNo < FieldCount && "Invalid Field No"); in getFieldOffset()