[all-commits] [llvm/llvm-project] 25ed92: [ADT] Handle and document multiple matches in Stri...

Jakub Kuderski via All-commits all-commits at lists.llvm.org
Mon Nov 3 08:40:40 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 25ed9231159f4b2d82b0cf0eb36db65c7599df45
      https://github.com/llvm/llvm-project/commit/25ed9231159f4b2d82b0cf0eb36db65c7599df45
  Author: Jakub Kuderski <jakub at nod-labs.com>
  Date:   2025-11-03 (Mon, 03 Nov 2025)

  Changed paths:
    M llvm/include/llvm/ADT/StringSwitch.h
    M llvm/unittests/ADT/StringSwitchTest.cpp

  Log Message:
  -----------
  [ADT] Handle and document multiple matches in StringSwitch (#166177)

Specify that the first match is returned and bail out early when
processing multiple case values.



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