diff --git a/llvm/include/llvm/ADT/None.h b/llvm/include/llvm/ADT/None.h index 1a66be4097df40..b3dc18089683fa 100644 --- a/llvm/include/llvm/ADT/None.h +++ b/llvm/include/llvm/ADT/None.h @@ -19,8 +19,7 @@ namespace llvm { /// A simple null object to allow implicit construction of Optional /// and similar types without having to spell out the specialization's name. -// (constant value 1 in an attempt to workaround MSVC build issue... ) -enum class NoneType { None = 1 }; +enum class NoneType { None }; const NoneType None = NoneType::None; }