Thanks to David Blaikie for suggesting this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286292
91177308-0d34-0410-b5e6-
96231b3b80d8
/// TODO: Store arguments directly and change \a DIExpression to store a
/// range of these.
class ExprOperand {
- const uint64_t *Op;
+ const uint64_t *Op = nullptr;
public:
- ExprOperand() : Op(nullptr) {};
+ ExprOperand() = default;
explicit ExprOperand(const uint64_t *Op) : Op(Op) {}
const uint64_t *get() const { return Op; }