From f15cab13cbe858db0634663e86a22796c2a6a0ba Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Mon, 1 Jun 2015 06:44:16 +0000 Subject: [PATCH 1/1] [TableGen] Remove unnecessary explicit initialization to null of a unique_ptr. NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238726 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/TableGen/Record.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/TableGen/Record.h b/include/llvm/TableGen/Record.h index f3fc5519b10..16932a23a03 100644 --- a/include/llvm/TableGen/Record.h +++ b/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.34.1