breaking windows builds.
The 'orc' namespace was accidentally left in when the workarounds were moved
out of orc in r343011.
llvm-svn: 343025
#include "llvm/Support/Error.h"
namespace llvm {
-namespace orc {
// A default-constructible llvm::Error that is suitable for use with MSVC's
// std::future implementation which requires default constructible types.
: Expected<T>(std::move(Other)) {}
};
-} // end namespace orc
} // end namespace llvm
#endif // LLVM_SUPPORT_MSVCERRORWORKAROUNDS_H
#ifdef _MSC_VER
using ExpectedLookupResult =
- MSVCPExpected<JITSymbolResolver::LooupResult>;
+ MSVCPExpected<JITSymbolResolver::LookupResult>;
#else
using ExpectedLookupResult = Expected<JITSymbolResolver::LookupResult>;
#endif
const JITSymbolResolver::LookupSet &Symbols) const {
#ifdef _MSC_VER
- using ExpectedLookupResult = MSVCPExpected<JITSymbolResolver::LooupResult>;
+ using ExpectedLookupResult = MSVCPExpected<JITSymbolResolver::LookupResult>;
#else
using ExpectedLookupResult = Expected<JITSymbolResolver::LookupResult>;
#endif