flovent wrote:

> It may make sense to mention that SobarQube also have [equivalent 
> rule](https://rules.sonarsource.com/cpp/RSPEC-6005/).

I tried it locally with sonar's vscode extension, seems it will reports when 
two situations is satisfied:

1. a variable with `std::tuple` and `std::pair` type is defined (local or in 
cxx for range)
2. this variable is never used directly later

https://github.com/llvm/llvm-project/pull/158462
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to