We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b726e03 commit 05f3e6eCopy full SHA for 05f3e6e
clang-tools-extra/clang-tidy/bugprone/InvalidEnumDefaultInitializationCheck.cpp
@@ -123,6 +123,7 @@ void InvalidEnumDefaultInitializationCheck::check(
123
Result.Nodes.getNodeAs<InitListExpr>("array_filler_expr");
124
// Initialization of omitted array elements with array filler was found.
125
// Check the type for enum without zero value.
126
+ // FIXME: In this way only one enum-typed value is found, not all of these.
127
FindEnumMember Finder;
128
if (!Finder.Visit(InitList->getArrayFiller()->getType().getTypePtr()))
129
return;
0 commit comments