================
@@ -803,7 +805,7 @@ void
ClangTidyDiagnosticConsumer::removeDuplicatedDiagnosticsOfAliasCheckers() {
auto IT = Errors.begin();
while (IT != Errors.end()) {
ClangTidyError &Error = *IT;
- std::pair<UniqueErrorSet::iterator, bool> Inserted =
+ const std::pair<UniqueErrorSet::iterator, bool> Inserted =
----------------
vbvictor wrote:
We don't have the check in main for structured binding, but we sure will
convert all cases once it's landed.
I don't see much value now in finding all of them by hand.
https://github.com/llvm/llvm-project/pull/167030
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits