[clang-tools-extra] [clang-tidy] Enable `modernize-return-braced-init-list`'s tests in C++11 (PR #158196)
Carlos Galvez via cfe-commits
cfe-commits at lists.llvm.org
Sat Sep 13 11:56:16 PDT 2025
carlosgalvezp wrote:
> It will be c++11-or-later by default:
That's sounds very fragile, if the standard is important, the test should be explicit about it.
Otherwise anyone can bump that standard in run-clang-tidy.py in the future to something else and suddenly this test no longer tests C++11. CI won't catch that.
https://github.com/llvm/llvm-project/pull/158196
More information about the cfe-commits
mailing list