mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-17 00:36:34 +00:00
Apply clang-tidy fixes for readability-identifier-naming in PassPlugin.cpp (NFC)
This commit is contained in:
parent
2545cac52e
commit
eb3409dc77
@ -14,12 +14,12 @@
|
||||
using namespace mlir;
|
||||
|
||||
llvm::Expected<PassPlugin> PassPlugin::load(const std::string &filename) {
|
||||
std::string Error;
|
||||
std::string error;
|
||||
auto library =
|
||||
llvm::sys::DynamicLibrary::getPermanentLibrary(filename.c_str(), &Error);
|
||||
llvm::sys::DynamicLibrary::getPermanentLibrary(filename.c_str(), &error);
|
||||
if (!library.isValid())
|
||||
return llvm::make_error<llvm::StringError>(
|
||||
Twine("Could not load library '") + filename + "': " + Error,
|
||||
Twine("Could not load library '") + filename + "': " + error,
|
||||
llvm::inconvertibleErrorCode());
|
||||
|
||||
PassPlugin plugin{filename, library};
|
||||
|
Loading…
x
Reference in New Issue
Block a user