[all-commits] [llvm/llvm-project] 9280f0: [clang-tidy] `use-ranges`: avoid unsafe result fix...
Daniil Dudkin via All-commits
all-commits at lists.llvm.org
Sun May 31 03:15:18 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: 9280f0119d6dd3430a9df57a696f70195cb30927
https://github.com/llvm/llvm-project/commit/9280f0119d6dd3430a9df57a696f70195cb30927
Author: Daniil Dudkin <unterumarmung at yandex.ru>
Date: 2026-05-31 (Sun, 31 May 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.rst
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