[clang-tools-extra] [clang-tidy] Add check 'bugprone-invalid-enum-default-initialization' (PR #136823)

Balázs Kéri via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 30 06:41:39 PDT 2025


================
@@ -124,6 +124,12 @@ New checks
   pointer and store it as class members without handle the copy and move
   constructors and the assignments.
 
+- New :doc:`bugprone-invalid-enum-default-initialization
----------------
balazske wrote:

LLVM documentation (https://llvm.org/docs/GitHub.html) actually tells that we should rebase the PR after the review is finished, force push a final commit and merge this on github. (But rebase can involve changes that should be reviewed?) Comparing changes between PR commits (like a diff only of the last update) seems to be not possible after rebase. "Squash and merge" does work (if there is no conflict) and leaves a single (non-merge) commit in the main branch.

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


More information about the cfe-commits mailing list