[all-commits] [llvm/llvm-project] f7a3be: [clang-tidy] Improve `bugprone-infinite-loop` chec...
flovent via All-commits
all-commits at lists.llvm.org
Tue Jul 22 07:11:02 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f7a3be7311c11871ae19b2fa370fd6a72532c8fe
https://github.com/llvm/llvm-project/commit/f7a3be7311c11871ae19b2fa370fd6a72532c8fe
Author: flovent <flbven at protonmail.com>
Date: 2025-07-22 (Tue, 22 Jul 2025)
Changed paths:
M clang-tools-extra/clang-tidy/bugprone/InfiniteLoopCheck.cpp
M clang-tools-extra/clang-tidy/utils/Aliasing.cpp
M clang-tools-extra/clang-tidy/utils/Aliasing.h
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/test/clang-tidy/checkers/bugprone/infinite-loop.cpp
Log Message:
-----------
[clang-tidy] Improve `bugprone-infinite-loop` check by adding handing for structured bindings (#144213)
Before this patch, this check only handles `VarDecl` as varaibles
declaration in statement, but this will ignore variables in structured
bindings (`BindingDecl` in AST), which leads to false positives.
Closes #138842.
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