[clang-tools-extra] [clang-tidy][NFC] Apply modernize-use-structured-binding check (PR #214022)
Baranov Victor via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 4 21:26:49 PDT 2026
================
@@ -527,9 +525,8 @@ void FunctionCognitiveComplexityCheck::check(
// Output all the basic increments of complexity.
for (const auto &Detail : Visitor.CC.Details) {
- unsigned MsgId = 0; // The id of the message to output.
- unsigned short Increase = 0; // How much of an increment?
- std::tie(MsgId, Increase) = Detail.process();
+ // How much of an increment?
----------------
vbvictor wrote:
```suggestion
```
https://github.com/llvm/llvm-project/pull/214022
More information about the cfe-commits
mailing list