[clang-tools-extra] [clang-tidy] add misc-constexpr check (PR #146553)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 1 09:31:25 PDT 2025


================
@@ -43,6 +44,7 @@ class MiscModule : public ClangTidyModule {
         "misc-confusable-identifiers");
     CheckFactories.registerCheck<ConstCorrectnessCheck>(
         "misc-const-correctness");
+    CheckFactories.registerCheck<UseConstexprCheck>("misc-use-constexpr");
----------------
vbvictor wrote:

ditto

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


More information about the cfe-commits mailing list