[all-commits] [llvm/llvm-project] 03d044: [ADT] Use a dedicated empty type for StringSet (NF...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Sat Nov 1 10:42:09 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 03d044971eccac47ed8518684ea18ba413cd5748
      https://github.com/llvm/llvm-project/commit/03d044971eccac47ed8518684ea18ba413cd5748
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-11-01 (Sat, 01 Nov 2025)

  Changed paths:
    M bolt/lib/Profile/DataAggregator.cpp
    M bolt/lib/Profile/YAMLProfileWriter.cpp
    M llvm/include/llvm/ADT/StringMap.h
    M llvm/include/llvm/ADT/StringMapEntry.h
    M llvm/include/llvm/ADT/StringSet.h
    M llvm/include/llvm/DWARFLinker/StringPool.h
    M mlir/include/mlir/Support/Timing.h
    M mlir/lib/Support/Timing.cpp

  Log Message:
  -----------
  [ADT] Use a dedicated empty type for StringSet (NFC) (#165967)

This patch introduces StringSetTag, a dedicated empty struct to serve
as the "value type" for llvm::StringSet.  This change is part of an
effort to reduce the use of std::nullopt_t outside the context of
std::optional.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list