[Mlir-commits] [mlir] eb3409d - Apply clang-tidy fixes for readability-identifier-naming in PassPlugin.cpp (NFC)
Mehdi Amini
llvmlistbot at llvm.org
Fri Feb 16 18:07:36 PST 2024
Author: Mehdi Amini
Date: 2024-02-16T18:07:11-08:00
New Revision: eb3409dc77752253b18224ed11ec738db4fe91a3
URL: https://github.com/llvm/llvm-project/commit/eb3409dc77752253b18224ed11ec738db4fe91a3
DIFF: https://github.com/llvm/llvm-project/commit/eb3409dc77752253b18224ed11ec738db4fe91a3.diff
LOG: Apply clang-tidy fixes for readability-identifier-naming in PassPlugin.cpp (NFC)
Added:
Modified:
mlir/lib/Tools/Plugins/PassPlugin.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Tools/Plugins/PassPlugin.cpp b/mlir/lib/Tools/Plugins/PassPlugin.cpp
index 98e15e48ac75af..1164996dcf0d79 100644
--- a/mlir/lib/Tools/Plugins/PassPlugin.cpp
+++ b/mlir/lib/Tools/Plugins/PassPlugin.cpp
@@ -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};
More information about the Mlir-commits
mailing list