File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 13
13
14
14
namespace clang ::tidy::modernize {
15
15
16
- // / Triggers on initializer lists for aggregate type that could be
16
+ // / Finds initializer lists for aggregate type that could be
17
17
// / written as designated initializers instead.
18
18
// /
19
19
// / For the user-facing documentation see:
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ New checks
108
108
- New :doc: `modernize-use-designated-initializers
109
109
<clang-tidy/checks/modernize/use-designated-initializers>` check.
110
110
111
- Triggers on initializer lists for aggregate type that could be
111
+ Finds initializer lists for aggregate type that could be
112
112
written as designated initializers instead.
113
113
114
114
New check aliases
Original file line number Diff line number Diff line change 3
3
modernize-use-designated-initializers
4
4
=====================================
5
5
6
- Triggers on initializer lists for aggregate type that could be written as
6
+ Finds initializer lists for aggregate type that could be written as
7
7
designated initializers instead.
8
8
9
9
With plain initializer lists, it is very easy to introduce bugs when adding
You can’t perform that action at this time.
0 commit comments