Home
last modified time | relevance | path

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

/external/clang/include/clang/AST/
DRecordLayout.h131 CXXRecordLayoutInfo *CXXInfo; variable
190 assert(CXXInfo && "Record layout does not have C++ specific info!"); in getNonVirtualSize()
192 return CXXInfo->NonVirtualSize; in getNonVirtualSize()
198 assert(CXXInfo && "Record layout does not have C++ specific info!"); in getNonVirtualAlignment()
200 return CXXInfo->NonVirtualAlignment; in getNonVirtualAlignment()
205 assert(CXXInfo && "Record layout does not have C++ specific info!"); in getPrimaryBase()
207 return CXXInfo->PrimaryBase.getPointer(); in getPrimaryBase()
213 assert(CXXInfo && "Record layout does not have C++ specific info!"); in isPrimaryBaseVirtual()
215 return CXXInfo->PrimaryBase.getInt(); in isPrimaryBaseVirtual()
220 assert(CXXInfo && "Record layout does not have C++ specific info!"); in getBaseClassOffset()
[all …]
/external/clang/lib/AST/
DRecordLayout.cpp21 if (CXXInfo) { in Destroy()
22 CXXInfo->~CXXRecordLayoutInfo(); in Destroy()
23 Ctx.Deallocate(CXXInfo); in Destroy()
35 RequiredAlignment(requiredAlignment), CXXInfo(nullptr) { in ASTRecordLayout()
58 RequiredAlignment(requiredAlignment), CXXInfo(new (Ctx) CXXRecordLayoutInfo) in ASTRecordLayout()
62 CXXInfo->PrimaryBase.setPointer(PrimaryBase); in ASTRecordLayout()
63 CXXInfo->PrimaryBase.setInt(IsPrimaryBaseVirtual); in ASTRecordLayout()
64 CXXInfo->NonVirtualSize = nonvirtualsize; in ASTRecordLayout()
65 CXXInfo->NonVirtualAlignment = nonvirtualalignment; in ASTRecordLayout()
66 CXXInfo->SizeOfLargestEmptySubobject = SizeOfLargestEmptySubobject; in ASTRecordLayout()
[all …]