[Mlir-commits] [mlir] d2ba0da - [MLIR] Apply clang-tidy fixes for misc-use-internal-linkage in Context.cpp (NFC)
Mehdi Amini
llvmlistbot at llvm.org
Thu Sep 18 11:27:15 PDT 2025
Author: Mehdi Amini
Date: 2025-09-18T11:26:47-07:00
New Revision: d2ba0da7959d545aefd321466c738345c633c09f
URL: https://github.com/llvm/llvm-project/commit/d2ba0da7959d545aefd321466c738345c633c09f
DIFF: https://github.com/llvm/llvm-project/commit/d2ba0da7959d545aefd321466c738345c633c09f.diff
LOG: [MLIR] Apply clang-tidy fixes for misc-use-internal-linkage in Context.cpp (NFC)
Added:
Modified:
mlir/lib/Tools/PDLL/ODS/Context.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Tools/PDLL/ODS/Context.cpp b/mlir/lib/Tools/PDLL/ODS/Context.cpp
index a3933c9c73b20..3f80b50f49e34 100644
--- a/mlir/lib/Tools/PDLL/ODS/Context.cpp
+++ b/mlir/lib/Tools/PDLL/ODS/Context.cpp
@@ -77,7 +77,8 @@ const Operation *Context::lookupOperation(StringRef name) const {
}
template <typename T>
-SmallVector<T *> sortMapByName(const llvm::StringMap<std::unique_ptr<T>> &map) {
+static SmallVector<T *>
+sortMapByName(const llvm::StringMap<std::unique_ptr<T>> &map) {
SmallVector<T *> storage;
for (auto &entry : map)
storage.push_back(entry.second.get());
More information about the Mlir-commits
mailing list