[all-commits] [llvm/llvm-project] 0d62bf: [NFC][SpecialCaseList] Introduce Matcher::matchInt...

Vitaly Buka via All-commits all-commits at lists.llvm.org
Wed Jun 10 15:16:13 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0d62bf31128a504f8acffa967752385c02d0c85e
      https://github.com/llvm/llvm-project/commit/0d62bf31128a504f8acffa967752385c02d0c85e
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2026-06-10 (Wed, 10 Jun 2026)

  Changed paths:
    M llvm/lib/Support/SpecialCaseList.cpp

  Log Message:
  -----------
  [NFC][SpecialCaseList] Introduce Matcher::matchInternal helper (#203097)

Extract the core matching logic (std::visit on the variant) from
Matcher::match
into a private Matcher::matchInternal helper method. This is a
preparation step
for implementing warning logic that will need to call the matching logic
multiple times.

Also make Matcher's M and Options member variables private as part of
this
refactoring.

Assisted-by: Gemini



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