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 2545cac commit eb3409dCopy full SHA for eb3409d
mlir/lib/Tools/Plugins/PassPlugin.cpp
@@ -14,12 +14,12 @@
14
using namespace mlir;
15
16
llvm::Expected<PassPlugin> PassPlugin::load(const std::string &filename) {
17
- std::string Error;
+ std::string error;
18
auto library =
19
- llvm::sys::DynamicLibrary::getPermanentLibrary(filename.c_str(), &Error);
+ llvm::sys::DynamicLibrary::getPermanentLibrary(filename.c_str(), &error);
20
if (!library.isValid())
21
return llvm::make_error<llvm::StringError>(
22
- Twine("Could not load library '") + filename + "': " + Error,
+ Twine("Could not load library '") + filename + "': " + error,
23
llvm::inconvertibleErrorCode());
24
25
PassPlugin plugin{filename, library};
0 commit comments