mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-12 07:37:34 +00:00
Use default member initializes. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238138 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
84ff6c4ce7
commit
98e5e8e3f6
@ -36,16 +36,15 @@ private:
|
||||
void operator=(const MCSection &) = delete;
|
||||
|
||||
MCSymbol *Begin;
|
||||
MCSymbol *End;
|
||||
MCSymbol *End = nullptr;
|
||||
/// The alignment requirement of this section.
|
||||
unsigned Alignment;
|
||||
unsigned Alignment = 1;
|
||||
/// The section index in the assemblers section list.
|
||||
unsigned Ordinal;
|
||||
unsigned Ordinal = ~UINT32_C(0);
|
||||
|
||||
protected:
|
||||
MCSection(SectionVariant V, SectionKind K, MCSymbol *Begin)
|
||||
: Begin(Begin), End(nullptr), Alignment(1), Ordinal(~UINT32_C(0)),
|
||||
Variant(V), Kind(K) {}
|
||||
: Begin(Begin), Variant(V), Kind(K) {}
|
||||
SectionVariant Variant;
|
||||
SectionKind Kind;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user