Skip to content

Commit bcb2da5

Browse files
committed
Specify explicit type
1 parent 145c6e5 commit bcb2da5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang-tools-extra/clang-tidy/modernize/UseDesignatedInitializersCheck.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ using namespace clang::ast_matchers;
2020

2121
namespace clang::tidy::modernize {
2222

23-
static constexpr auto IgnoreSingleElementAggregatesName =
23+
static const char *IgnoreSingleElementAggregatesName =
2424
"IgnoreSingleElementAggregates";
25-
static constexpr auto IgnoreSingleElementAggregatesDefault = true;
25+
static const bool IgnoreSingleElementAggregatesDefault = true;
2626

2727
static std::vector<Stmt *>
2828
getUndesignatedComponents(const InitListExpr *SyntacticInitList) {

0 commit comments

Comments
 (0)