Home
last modified time | relevance | path

Searched refs:FieldCount (Results 1 – 3 of 3) sorted by relevance

/external/clang/include/clang/Sema/
DCXXFieldCollector.h35 SmallVector<size_t, 4> FieldCount; variable
53 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()
/external/clang/lib/AST/
DRecordLayout.cpp39 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()
/external/clang/include/clang/AST/
DRecordLayout.h77 unsigned FieldCount; variable
177 unsigned getFieldCount() const { return FieldCount; } in getFieldCount()
182 assert (FieldNo < FieldCount && "Invalid Field No"); in getFieldOffset()