We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07adcbc commit 5f27897Copy full SHA for 5f27897
llvm/lib/Transforms/IPO/FunctionImport.cpp
@@ -39,6 +39,7 @@
39
#include "llvm/Support/Casting.h"
40
#include "llvm/Support/CommandLine.h"
41
#include "llvm/Support/Debug.h"
42
+#include "llvm/Support/Errc.h"
43
#include "llvm/Support/Error.h"
44
#include "llvm/Support/ErrorHandling.h"
45
#include "llvm/Support/FileSystem.h"
@@ -496,7 +497,7 @@ static void computeImportForFunction(
496
497
VI.name().str() + " due to " +
498
getFailureName(Reason);
499
auto Error = make_error<StringError>(
- Msg, std::make_error_code(std::errc::operation_not_supported));
500
+ Msg, make_error_code(errc::not_supported));
501
logAllUnhandledErrors(std::move(Error), errs(),
502
"Error importing module: ");
503
break;
0 commit comments