Use a default constructor. (NFC)

Thanks to David Blaikie for suggesting this.

llvm-svn: 286292
This commit is contained in:
Adrian Prantl 2016-11-08 20:48:38 +00:00
parent 2582e690b7
commit 72845a5f4e
1 changed files with 2 additions and 2 deletions

View File

@ -1953,10 +1953,10 @@ public:
/// 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; }