[all-commits] [llvm/llvm-project] caede5: [clang-tidy] `use-ranges`: avoid unsafe result fix...
Daniil Dudkin via All-commits
all-commits at lists.llvm.org
Wed Sep 30 07:20:08 PDT 2026
Branch: refs/heads/users/unterumarmung/05-06-_clang-tidy_use-ranges_avoid_unsafe_result_fix-its
Home: https://github.com/llvm/llvm-project
Commit: caede56c2dce24f845adc1eed14e33ed9b361db2
https://github.com/llvm/llvm-project/commit/caede56c2dce24f845adc1eed14e33ed9b361db2
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/clang-tidy/utils/UseRangesCheck.cpp
M clang-tools-extra/clang-tidy/utils/UseRangesCheck.h
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`: avoid unsafe result fix-its
Preserve callable results with .fun, allow structured-binding-safe rewrites, and keep diagnostics while suppressing unsafe fix-its when ranges result objects do not match the original result shape.
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