forked from OSchip/llvm-project
[lldb][NFC] Cleanup ClangASTImporter::LayoutInfo
This commit is contained in:
parent
adc0217416
commit
48acece15d
|
@ -33,15 +33,15 @@ namespace lldb_private {
|
|||
class ClangASTImporter {
|
||||
public:
|
||||
struct LayoutInfo {
|
||||
LayoutInfo()
|
||||
: bit_size(0), alignment(0), field_offsets(), base_offsets(),
|
||||
vbase_offsets() {}
|
||||
uint64_t bit_size;
|
||||
uint64_t alignment;
|
||||
LayoutInfo() = default;
|
||||
typedef llvm::DenseMap<const clang::CXXRecordDecl *, clang::CharUnits>
|
||||
OffsetMap;
|
||||
|
||||
uint64_t bit_size = 0;
|
||||
uint64_t alignment = 0;
|
||||
llvm::DenseMap<const clang::FieldDecl *, uint64_t> field_offsets;
|
||||
llvm::DenseMap<const clang::CXXRecordDecl *, clang::CharUnits> base_offsets;
|
||||
llvm::DenseMap<const clang::CXXRecordDecl *, clang::CharUnits>
|
||||
vbase_offsets;
|
||||
OffsetMap base_offsets;
|
||||
OffsetMap vbase_offsets;
|
||||
};
|
||||
|
||||
ClangASTImporter()
|
||||
|
|
Loading…
Reference in New Issue