Home
last modified time | relevance | path

Searched refs:CXXInfo (Results 1 – 2 of 2) sorted by relevance

/external/clang/include/clang/AST/
DRecordLayout.h113 CXXRecordLayoutInfo *CXXInfo; variable
168 assert(CXXInfo && "Record layout does not have C++ specific info!"); in getNonVirtualSize()
170 return CXXInfo->NonVirtualSize; in getNonVirtualSize()
176 assert(CXXInfo && "Record layout does not have C++ specific info!"); in getNonVirtualAlign()
178 return CXXInfo->NonVirtualAlign; in getNonVirtualAlign()
183 assert(CXXInfo && "Record layout does not have C++ specific info!"); in getPrimaryBase()
185 return CXXInfo->PrimaryBase.getPointer(); in getPrimaryBase()
191 assert(CXXInfo && "Record layout does not have C++ specific info!"); in isPrimaryBaseVirtual()
193 return CXXInfo->PrimaryBase.getInt(); in isPrimaryBaseVirtual()
198 assert(CXXInfo && "Record layout does not have C++ specific info!"); in getBaseClassOffset()
[all …]
/external/clang/lib/AST/
DRecordLayout.cpp23 if (CXXInfo) { in Destroy()
24 Ctx.Deallocate(CXXInfo); in Destroy()
25 CXXInfo->~CXXRecordLayoutInfo(); in Destroy()
36 FieldCount(fieldcount), CXXInfo(0) { in ASTRecordLayout()
58 FieldCount(fieldcount), CXXInfo(new (Ctx) CXXRecordLayoutInfo) in ASTRecordLayout()
65 CXXInfo->PrimaryBase.setPointer(PrimaryBase); in ASTRecordLayout()
66 CXXInfo->PrimaryBase.setInt(IsPrimaryBaseVirtual); in ASTRecordLayout()
67 CXXInfo->NonVirtualSize = nonvirtualsize; in ASTRecordLayout()
68 CXXInfo->NonVirtualAlign = nonvirtualalign; in ASTRecordLayout()
69 CXXInfo->SizeOfLargestEmptySubobject = SizeOfLargestEmptySubobject; in ASTRecordLayout()
[all …]