[clang-tidy] Fix wrong code generation for `modernize-loop-convert` with structured...
authorAMS21 <AMS21.github@gmail.com>
Wed, 14 Jun 2023 18:47:32 +0000 (18:47 +0000)
committerPiotr Zegar <me@piotrzegar.pl>
Wed, 14 Jun 2023 18:57:29 +0000 (18:57 +0000)
commitdc4359fecf02f4230b4a5b900077c29d1b90f4ab
tree359dd05dc866c4f74135a599e9ed618e8e7e2602
parentf51924d124bdd0e089cd28756578cec13ede1a8c
[clang-tidy] Fix wrong code generation for `modernize-loop-convert` with structured bindings.

Fixes llvm#62951

Reviewed By: PiotrZSL

Differential Revision: https://reviews.llvm.org/D152852
clang-tools-extra/clang-tidy/modernize/LoopConvertCheck.cpp
clang-tools-extra/docs/ReleaseNotes.rst
clang-tools-extra/test/clang-tidy/checkers/modernize/loop-convert-structured-binding.cpp [new file with mode: 0644]