Home
last modified time | relevance | path

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

/external/clang/include/clang/AST/
DRecordLayout.h134 CXXRecordLayoutInfo *CXXInfo; variable
195 assert(CXXInfo && "Record layout does not have C++ specific info!"); in getNonVirtualSize()
197 return CXXInfo->NonVirtualSize; in getNonVirtualSize()
203 assert(CXXInfo && "Record layout does not have C++ specific info!"); in getNonVirtualAlignment()
205 return CXXInfo->NonVirtualAlignment; in getNonVirtualAlignment()
210 assert(CXXInfo && "Record layout does not have C++ specific info!"); in getPrimaryBase()
212 return CXXInfo->PrimaryBase.getPointer(); in getPrimaryBase()
218 assert(CXXInfo && "Record layout does not have C++ specific info!"); in isPrimaryBaseVirtual()
220 return CXXInfo->PrimaryBase.getInt(); in isPrimaryBaseVirtual()
225 assert(CXXInfo && "Record layout does not have C++ specific info!"); in getBaseClassOffset()
[all …]
/external/clang/lib/AST/
DRecordLayout.cpp23 if (CXXInfo) { in Destroy()
24 CXXInfo->~CXXRecordLayoutInfo(); in Destroy()
25 Ctx.Deallocate(CXXInfo); in Destroy()
39 FieldCount(fieldcount), CXXInfo(nullptr) { in ASTRecordLayout()
67 FieldCount(fieldcount), CXXInfo(new (Ctx) CXXRecordLayoutInfo) in ASTRecordLayout()
74 CXXInfo->PrimaryBase.setPointer(PrimaryBase); in ASTRecordLayout()
75 CXXInfo->PrimaryBase.setInt(IsPrimaryBaseVirtual); in ASTRecordLayout()
76 CXXInfo->NonVirtualSize = nonvirtualsize; in ASTRecordLayout()
77 CXXInfo->NonVirtualAlignment = nonvirtualalignment; in ASTRecordLayout()
78 CXXInfo->SizeOfLargestEmptySubobject = SizeOfLargestEmptySubobject; in ASTRecordLayout()
[all …]