forked from OSchip/llvm-project
[IPO] Use default member initialization (NFC)
Identified with modernize-use-default-member-init.
This commit is contained in:
parent
47b39c5157
commit
eb15c80c89
|
@ -70,7 +70,7 @@ public:
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
CVPLatticeVal() : LatticeState(Undefined) {}
|
CVPLatticeVal() = default;
|
||||||
CVPLatticeVal(CVPLatticeStateTy LatticeState) : LatticeState(LatticeState) {}
|
CVPLatticeVal(CVPLatticeStateTy LatticeState) : LatticeState(LatticeState) {}
|
||||||
CVPLatticeVal(std::vector<Function *> &&Functions)
|
CVPLatticeVal(std::vector<Function *> &&Functions)
|
||||||
: LatticeState(FunctionSet), Functions(std::move(Functions)) {
|
: LatticeState(FunctionSet), Functions(std::move(Functions)) {
|
||||||
|
@ -96,7 +96,7 @@ public:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
/// Holds the state this lattice value is in.
|
/// Holds the state this lattice value is in.
|
||||||
CVPLatticeStateTy LatticeState;
|
CVPLatticeStateTy LatticeState = Undefined;
|
||||||
|
|
||||||
/// Holds functions indicating the possible targets of call sites. This set
|
/// Holds functions indicating the possible targets of call sites. This set
|
||||||
/// is empty for lattice values in the undefined, overdefined, and untracked
|
/// is empty for lattice values in the undefined, overdefined, and untracked
|
||||||
|
|
Loading…
Reference in New Issue