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

Matt Arsenault llvmlistbot at llvm.org
Fri Oct 31 22:25:38 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)
----------------
arsenm wrote:

no auto? 

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


More information about the Mlir-commits mailing list