Skip to content

Commit d2ba0da

Browse files
committed
[MLIR] Apply clang-tidy fixes for misc-use-internal-linkage in Context.cpp (NFC)
1 parent 36692aa commit d2ba0da

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mlir/lib/Tools/PDLL/ODS/Context.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ const Operation *Context::lookupOperation(StringRef name) const {
7777
}
7878

7979
template <typename T>
80-
SmallVector<T *> sortMapByName(const llvm::StringMap<std::unique_ptr<T>> &map) {
80+
static SmallVector<T *>
81+
sortMapByName(const llvm::StringMap<std::unique_ptr<T>> &map) {
8182
SmallVector<T *> storage;
8283
for (auto &entry : map)
8384
storage.push_back(entry.second.get());

0 commit comments

Comments
 (0)