[clang-tools-extra] [clang-tidy] Add `modernize-use-uniform-initializer` check (PR #91124)

Carlos Galvez via cfe-commits cfe-commits at lists.llvm.org
Sun May 5 10:59:49 PDT 2024


carlosgalvezp wrote:

Regarding the problem of {} initialization and std::vector, I believe we could restrict this check to not warn on classes that have a constructor taking a `std:: initializer_list`. I believe AUTOSAR has an exception for that.

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


More information about the cfe-commits mailing list