[clang-tools-extra] [clang-tidy] Add new check `modernize-use-structured-binding` (PR #158462)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Sun Sep 14 01:32:33 PDT 2025


================
@@ -0,0 +1,58 @@
+.. title:: clang-tidy - modernize-use-structured-binding
+
+modernize-use-structured-binding
+================================
+
+Suggests using C++17 structured bindings to decompose pairs.
----------------
vbvictor wrote:

```suggestion
Finds places where structured bindings could be used to decompose pairs and
suggests replacing them.
```
Same as ReleaseNotes

https://github.com/llvm/llvm-project/pull/158462


More information about the cfe-commits mailing list