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 {
|
class ClangASTImporter {
|
||||||
public:
|
public:
|
||||||
struct LayoutInfo {
|
struct LayoutInfo {
|
||||||
LayoutInfo()
|
LayoutInfo() = default;
|
||||||
: bit_size(0), alignment(0), field_offsets(), base_offsets(),
|
typedef llvm::DenseMap<const clang::CXXRecordDecl *, clang::CharUnits>
|
||||||
vbase_offsets() {}
|
OffsetMap;
|
||||||
uint64_t bit_size;
|
|
||||||
uint64_t alignment;
|
uint64_t bit_size = 0;
|
||||||
|
uint64_t alignment = 0;
|
||||||
llvm::DenseMap<const clang::FieldDecl *, uint64_t> field_offsets;
|
llvm::DenseMap<const clang::FieldDecl *, uint64_t> field_offsets;
|
||||||
llvm::DenseMap<const clang::CXXRecordDecl *, clang::CharUnits> base_offsets;
|
OffsetMap base_offsets;
|
||||||
llvm::DenseMap<const clang::CXXRecordDecl *, clang::CharUnits>
|
OffsetMap vbase_offsets;
|
||||||
vbase_offsets;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
ClangASTImporter()
|
ClangASTImporter()
|
||||||
|
|
Loading…
Reference in New Issue