From 8eb887fefcd5a11cd35de84cf369d1f9ebb25426 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Mon, 1 Jun 2015 06:44:16 +0000 Subject: [PATCH] [TableGen] Remove unnecessary explicit initialization to null of a unique_ptr. NFC llvm-svn: 238726 --- llvm/include/llvm/TableGen/Record.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/include/llvm/TableGen/Record.h b/llvm/include/llvm/TableGen/Record.h index f3fc551..16932a2 100644 --- a/llvm/include/llvm/TableGen/Record.h +++ b/llvm/include/llvm/TableGen/Record.h @@ -57,7 +57,7 @@ private: public: RecTyKind getRecTyKind() const { return Kind; } - RecTy(RecTyKind K) : Kind(K), ListTy(nullptr) {} + RecTy(RecTyKind K) : Kind(K) {} virtual ~RecTy() {} virtual std::string getAsString() const = 0; -- 2.7.4