We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36692aa commit d2ba0daCopy full SHA for d2ba0da
mlir/lib/Tools/PDLL/ODS/Context.cpp
@@ -77,7 +77,8 @@ const Operation *Context::lookupOperation(StringRef name) const {
77
}
78
79
template <typename T>
80
-SmallVector<T *> sortMapByName(const llvm::StringMap<std::unique_ptr<T>> &map) {
+static SmallVector<T *>
81
+sortMapByName(const llvm::StringMap<std::unique_ptr<T>> &map) {
82
SmallVector<T *> storage;
83
for (auto &entry : map)
84
storage.push_back(entry.second.get());
0 commit comments