[Mlir-commits] [llvm] [mlir] [ADT] Use a dedicated empty type for StringSet (NFC) (PR #165967)

Kazu Hirata llvmlistbot at llvm.org
Sat Nov 1 09:16:57 PDT 2025


================
@@ -2291,7 +2291,7 @@ std::error_code DataAggregator::writeBATYAML(BinaryContext &BC,
 
   ListSeparator LS(",");
   raw_string_ostream EventNamesOS(BP.Header.EventNames);
-  for (const StringMapEntry<std::nullopt_t> &EventEntry : EventNames)
+  for (const auto &EventEntry : EventNames)
----------------
kazutakahirata wrote:

Fixed.

https://github.com/llvm/llvm-project/pull/165967


More information about the Mlir-commits mailing list