I can't reproduce this so far with web compilers, so throwing this at
the bots to see if it sticks.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292155
91177308-0d34-0410-b5e6-
96231b3b80d8
namespace llvm {
/// \brief A simple null object to allow implicit construction of Optional<T>
/// and similar types without having to spell out the specialization's name.
-enum class NoneType { None };
+// (constant value 1 in an attempt to workaround MSVC build issue... )
+enum class NoneType { None = 1 };
const NoneType None = NoneType::None;
}