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,
|
||||
LinkageTypes Linkage, const Twine &Name,
|
||||
unsigned AddressSpace = 0)
|
||||
: GlobalValue(Ty, VTy, Ops, NumOps, Linkage, Name, AddressSpace),
|
||||
ObjComdat(nullptr) {
|
||||
: GlobalValue(Ty, VTy, Ops, NumOps, Linkage, Name, AddressSpace) {
|
||||
setGlobalValueSubClassData(0);
|
||||
}
|
||||
~GlobalObject();
|
||||
|
||||
Comdat *ObjComdat;
|
||||
Comdat *ObjComdat = nullptr;
|
||||
enum {
|
||||
LastAlignmentBit = 5,
|
||||
HasSectionHashEntryBit,
|
||||
|
|
Loading…
Reference in New Issue