forked from OSchip/llvm-project
[IR] Use default member initialization in GlobalObject (NFC)
This commit is contained in:
parent
f072603685
commit
1569252774
|
@ -43,13 +43,12 @@ protected:
|
||||||
GlobalObject(Type *Ty, ValueTy VTy, Use *Ops, unsigned NumOps,
|
GlobalObject(Type *Ty, ValueTy VTy, Use *Ops, unsigned NumOps,
|
||||||
LinkageTypes Linkage, const Twine &Name,
|
LinkageTypes Linkage, const Twine &Name,
|
||||||
unsigned AddressSpace = 0)
|
unsigned AddressSpace = 0)
|
||||||
: GlobalValue(Ty, VTy, Ops, NumOps, Linkage, Name, AddressSpace),
|
: GlobalValue(Ty, VTy, Ops, NumOps, Linkage, Name, AddressSpace) {
|
||||||
ObjComdat(nullptr) {
|
|
||||||
setGlobalValueSubClassData(0);
|
setGlobalValueSubClassData(0);
|
||||||
}
|
}
|
||||||
~GlobalObject();
|
~GlobalObject();
|
||||||
|
|
||||||
Comdat *ObjComdat;
|
Comdat *ObjComdat = nullptr;
|
||||||
enum {
|
enum {
|
||||||
LastAlignmentBit = 5,
|
LastAlignmentBit = 5,
|
||||||
HasSectionHashEntryBit,
|
HasSectionHashEntryBit,
|
||||||
|
|
Loading…
Reference in New Issue