Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DRecordLayout.h149 CXXRecordLayoutInfo *CXXInfo = nullptr; variable
211 assert(CXXInfo && "Record layout does not have C++ specific info!"); in getNonVirtualSize()
213 return CXXInfo->NonVirtualSize; in getNonVirtualSize()
219 assert(CXXInfo && "Record layout does not have C++ specific info!"); in getNonVirtualAlignment()
221 return CXXInfo->NonVirtualAlignment; in getNonVirtualAlignment()
228 assert(CXXInfo && "Record layout does not have C++ specific info!"); in getPreferredNVAlignment()
230 return CXXInfo->PreferredNVAlignment; in getPreferredNVAlignment()
235 assert(CXXInfo && "Record layout does not have C++ specific info!"); in getPrimaryBase()
237 return CXXInfo->PrimaryBase.getPointer(); in getPrimaryBase()
243 assert(CXXInfo && "Record layout does not have C++ specific info!"); in isPrimaryBaseVirtual()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DRecordLayout.cpp22 if (CXXInfo) { in Destroy()
23 CXXInfo->~CXXRecordLayoutInfo(); in Destroy()
24 Ctx.Deallocate(CXXInfo); in Destroy()
60 CXXInfo(new (Ctx) CXXRecordLayoutInfo) { in ASTRecordLayout()
63 CXXInfo->PrimaryBase.setPointer(PrimaryBase); in ASTRecordLayout()
64 CXXInfo->PrimaryBase.setInt(IsPrimaryBaseVirtual); in ASTRecordLayout()
65 CXXInfo->NonVirtualSize = nonvirtualsize; in ASTRecordLayout()
66 CXXInfo->NonVirtualAlignment = nonvirtualalignment; in ASTRecordLayout()
67 CXXInfo->PreferredNVAlignment = preferrednvalignment; in ASTRecordLayout()
68 CXXInfo->SizeOfLargestEmptySubobject = SizeOfLargestEmptySubobject; in ASTRecordLayout()
[all …]
H A DRecordLayoutBuilder.cpp3789 OS << Info.CXXInfo->BaseOffsets[Base].getQuantity(); in DumpRecordLayout()
3798 OS << Info.CXXInfo->VBaseOffsets[VBase].VBaseOffset.getQuantity(); in DumpRecordLayout()