Skip to content

Commit eb3409d

Browse files
committed
Apply clang-tidy fixes for readability-identifier-naming in PassPlugin.cpp (NFC)
1 parent 2545cac commit eb3409d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mlir/lib/Tools/Plugins/PassPlugin.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414
using namespace mlir;
1515

1616
llvm::Expected<PassPlugin> PassPlugin::load(const std::string &filename) {
17-
std::string Error;
17+
std::string error;
1818
auto library =
19-
llvm::sys::DynamicLibrary::getPermanentLibrary(filename.c_str(), &Error);
19+
llvm::sys::DynamicLibrary::getPermanentLibrary(filename.c_str(), &error);
2020
if (!library.isValid())
2121
return llvm::make_error<llvm::StringError>(
22-
Twine("Could not load library '") + filename + "': " + Error,
22+
Twine("Could not load library '") + filename + "': " + error,
2323
llvm::inconvertibleErrorCode());
2424

2525
PassPlugin plugin{filename, library};

0 commit comments

Comments
 (0)