diff options
Diffstat (limited to 'include/clang/Frontend/LayoutOverrideSource.h')
-rw-r--r-- | include/clang/Frontend/LayoutOverrideSource.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/clang/Frontend/LayoutOverrideSource.h b/include/clang/Frontend/LayoutOverrideSource.h index 0b7f7dc7a7d67..28e3cf005b30f 100644 --- a/include/clang/Frontend/LayoutOverrideSource.h +++ b/include/clang/Frontend/LayoutOverrideSource.h @@ -27,24 +27,24 @@ namespace clang { struct Layout { /// The size of the record. uint64_t Size; - + /// The alignment of the record. uint64_t Align; - + /// The offsets of the fields, in source order. SmallVector<uint64_t, 8> FieldOffsets; }; - + /// The set of layouts that will be overridden. llvm::StringMap<Layout> Layouts; - + public: /// Create a new AST source that overrides the layout of some /// set of record types. /// /// The file is the result of passing -fdump-record-layouts to a file. explicit LayoutOverrideSource(StringRef Filename); - + /// If this particular record type has an overridden layout, /// return that layout. bool @@ -54,7 +54,7 @@ namespace clang { llvm::DenseMap<const CXXRecordDecl *, CharUnits> &BaseOffsets, llvm::DenseMap<const CXXRecordDecl *, CharUnits> &VirtualBaseOffsets) override; - + /// Dump the overridden layouts. void dump(); }; |