[clang-tools-extra] [clang-tidy] Add more constexpr options to `readability-identifier-naming` (PR #162160)
Baranov Victor via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 9 08:28:24 PDT 2025
vbvictor wrote:
> GlobalConstexprVariableCase because there's already ConstexprVariableCase
I'm +1 on `GlobalConstexprVariableCase` to keep consistent, plus I don't see why `constexpr` declarations can't be variables. `constexpr` variable can be calculated at compile time by `constexpr`/`constinit` functions, so It doesn't have to hold some predefined literal value.
https://github.com/llvm/llvm-project/pull/162160
More information about the cfe-commits
mailing list