[all-commits] [llvm/llvm-project] 6b7a3b: [clang-tidy] Teach `performance-faster-string-find...

Victor Chernyakin via All-commits all-commits at lists.llvm.org
Wed Mar 4 16:45:04 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6b7a3b311a8675f4b82e22d8420e24c7f1612fdc
      https://github.com/llvm/llvm-project/commit/6b7a3b311a8675f4b82e22d8420e24c7f1612fdc
  Author: Victor Chernyakin <chernyakin.victor.j at outlook.com>
  Date:   2026-03-04 (Wed, 04 Mar 2026)

  Changed paths:
    M clang-tools-extra/clang-tidy/performance/FasterStringFindCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/docs/clang-tidy/checks/performance/faster-string-find.rst
    M clang-tools-extra/test/clang-tidy/checkers/performance/faster-string-find.cpp

  Log Message:
  -----------
  [clang-tidy] Teach `performance-faster-string-find` about `operator+=` (#182697)

This is a followup to #182633. Like in that PR, `operator+=` doesn't fit
with the check name, but the same optimization is applicable to it:
https://en.cppreference.com/w/cpp/string/basic_string/operator+=.html



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