Searched refs:FieldCount (Results 1 – 4 of 4) 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()
36 FieldCount(fieldcount), CXXInfo(0) { in ASTRecordLayout()37 if (FieldCount > 0) { in ASTRecordLayout()38 FieldOffsets = new (Ctx) uint64_t[FieldCount]; in ASTRecordLayout()39 memcpy(FieldOffsets, fieldoffsets, FieldCount * sizeof(*FieldOffsets)); in ASTRecordLayout()58 FieldCount(fieldcount), CXXInfo(new (Ctx) CXXRecordLayoutInfo) in ASTRecordLayout()60 if (FieldCount > 0) { in ASTRecordLayout()61 FieldOffsets = new (Ctx) uint64_t[FieldCount]; in ASTRecordLayout()62 memcpy(FieldOffsets, fieldoffsets, FieldCount * sizeof(*FieldOffsets)); in ASTRecordLayout()
73 unsigned FieldCount; variable150 unsigned getFieldCount() const { return FieldCount; } in getFieldCount()155 assert (FieldNo < FieldCount && "Invalid Field No"); in getFieldOffset()
51 TEST(FormStructureTest, FieldCount) { in TEST() argument