[all-commits] [llvm/llvm-project] 169c6b: [clang-tidy] `use-ranges`: preserve output results...

Daniil Dudkin via All-commits all-commits at lists.llvm.org
Wed Sep 30 07:38:32 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 169c6b25035659b7551a57165b662db19db7a9d0
      https://github.com/llvm/llvm-project/commit/169c6b25035659b7551a57165b662db19db7a9d0
  Author: Daniil Dudkin <unterumarmung at yandex.ru>
  Date:   2026-09-30 (Wed, 30 Sep 2026)

  Changed paths:
    M clang-tools-extra/clang-tidy/modernize/UseRangesCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.md
    M clang-tools-extra/docs/clang-tidy/checks/modernize/use-ranges.rst
    M clang-tools-extra/test/clang-tidy/checkers/modernize/Inputs/use-ranges/fake_std.h
    M clang-tools-extra/test/clang-tidy/checkers/modernize/use-ranges.cpp

  Log Message:
  -----------
  [clang-tidy] `use-ranges`: preserve output results (#196037)

Preserve used output iterator results for output algorithm replacements
by appending `.out` where the ranges algorithm returns an algorithm
result object.

Fix #110223

Assisted by Codex.



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