[clang-tidy] 🐛 std::vector(size, value)
in modernize-return-braced-init-list
#68159
Labels
std::vector(size, value)
in modernize-return-braced-init-list
#68159
Description
The
clang-tidy
passmodernize-return-braced-init-list
complains about constructors ofstd::vector
that are not initializers lists.In particular, the constructor
should be ignored.
Versions Affected
Bug seen with LLVM 14.
Reproducer
https://en.cppreference.com/w/cpp/container/vector/vector
X-Ref
BLAST-WarpX/warpx#4338
Keywords
The text was updated successfully, but these errors were encountered: