diff options
Diffstat (limited to 'include/llvm/IR/Comdat.h')
-rw-r--r-- | include/llvm/IR/Comdat.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/IR/Comdat.h b/include/llvm/IR/Comdat.h index f4a391c31ae2..fa87093ca50a 100644 --- a/include/llvm/IR/Comdat.h +++ b/include/llvm/IR/Comdat.h @@ -1,4 +1,4 @@ -//===-- llvm/IR/Comdat.h - Comdat definitions -------------------*- C++ -*-===// +//===- llvm/IR/Comdat.h - Comdat definitions --------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // @@ -51,8 +51,8 @@ private: Comdat(); // Points to the map in Module. - StringMapEntry<Comdat> *Name; - SelectionKind SK; + StringMapEntry<Comdat> *Name = nullptr; + SelectionKind SK = Any; }; inline raw_ostream &operator<<(raw_ostream &OS, const Comdat &C) { |