flovent wrote:

It's tested in llvm codebase with 
`-DLLVM_ENABLE_PROJECTS="bolt;clang;clang-tools-extra;compiler-rt"`, since 
plenty of llvm code it's written in pre-c++17 standard. 

It provides ~431 warnings and fixits with check option 
`modernize-use-structured-binding.PairTypes: 'std::pair; 
llvm::detail::DenseMapPair'`

See [apply modernize-structured-binding 
commit](https://github.com/flovent/llvm-project/commit/6585160f56bf38c09498a4a3cc3ed52edddce8c9#diff-6c27da357b0372870965476e57c269bfe5563cf2b0cbe6baee9d89c0d7964651)

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