Remove 'orc' namespace from MSVCErrorWorkarounds.h, fix some typos that were

breaking windows builds.

The 'orc' namespace was accidentally left in when the workarounds were moved
out of orc in r343011.

llvm-svn: 343025
This commit is contained in:
Lang Hames 2018-09-25 20:48:57 +00:00
parent 12ef7a9575
commit 079c0df47d
3 changed files with 2 additions and 4 deletions

View File

@ -22,7 +22,6 @@
#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.
@ -80,7 +79,6 @@ public:
: Expected<T>(std::move(Other)) {}
};
} // end namespace orc
} // end namespace llvm
#endif // LLVM_SUPPORT_MSVCERRORWORKAROUNDS_H

View File

@ -1087,7 +1087,7 @@ Error RuntimeDyldImpl::resolveExternalSymbols() {
#ifdef _MSC_VER
using ExpectedLookupResult =
MSVCPExpected<JITSymbolResolver::LooupResult>;
MSVCPExpected<JITSymbolResolver::LookupResult>;
#else
using ExpectedLookupResult = Expected<JITSymbolResolver::LookupResult>;
#endif

View File

@ -735,7 +735,7 @@ Expected<JITSymbolResolver::LookupResult> RuntimeDyldCheckerImpl::lookup(
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