[all-commits] [llvm/llvm-project] 466f69: [SpecialCaseList] Remove ./ from file path (#162437)

Vitaly Buka via All-commits all-commits at lists.llvm.org
Wed Oct 8 10:44:42 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 466f691f965a5d4a78fef7560377b0a478636d6e
      https://github.com/llvm/llvm-project/commit/466f691f965a5d4a78fef7560377b0a478636d6e
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2025-10-08 (Wed, 08 Oct 2025)

  Changed paths:
    M llvm/include/llvm/Support/SpecialCaseList.h
    M llvm/lib/Support/SpecialCaseList.cpp
    M llvm/unittests/Support/SpecialCaseListTest.cpp

  Log Message:
  -----------
  [SpecialCaseList] Remove ./ from file path (#162437)

This extends approach used in WarningsSpecialCaseList
on other types of SpecialCaseList.

SpecialCaseList will remove leading "./" from the Query
for prefixes which looks like file names.

Now affected prefixes are "src", "!src", "mainfile", "source".

To avoid breaking users, this behavior is enabled for
files starting "#!special-case-list-v3".



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