[clang-tools-extra] [clang-tidy] New Option Invalid Enum Default Initialization (PR #159220)
Baranov Victor via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 17 08:43:59 PDT 2025
=?utf-8?q?Félix-Antoine?= Constantin
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/159220 at github.com>
================
@@ -70,3 +70,8 @@ enum type) are set to 0.
enum Enum1 Array3[2][2] = {{Enum1_A, Enum1_A}}; // warn: elements of second array are initialized to 0
struct Struct1 S1 = {1}; // warn: element 'b' is initialized to 0
+
+.. option:: IgnoredEnums
----------------
vbvictor wrote:
Please write new "Options ______" block. See other docs for reference
https://github.com/llvm/llvm-project/pull/159220
More information about the cfe-commits
mailing list