[clang-tools-extra] Add clang tidy check performance constexpr non static in scope (PR #147809)
Carlos Galvez via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 10 06:41:02 PDT 2025
carlosgalvezp wrote:
> bellow specific size
Like I mentioned in the other patch I think this is brittle and leads to poor UX, because you add 1 field to a struct in a header file and suddenly you have to change all clients.
I'd be preferred to have the user specify which types to warn on. Maybe arrays could have an option of it's own.
https://github.com/llvm/llvm-project/pull/147809
More information about the cfe-commits
mailing list