forked from OSchip/llvm-project
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:
parent
12ef7a9575
commit
079c0df47d
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue