[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:39 PDT 2025
================
@@ -382,7 +382,7 @@ std::error_code YAMLProfileWriter::writeProfile(const RewriteInstance &RI) {
StringSet<> EventNames = RI.getProfileReader()->getEventNames();
if (!EventNames.empty()) {
std::string Sep;
- 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