Skip to content

Commit 6920e31

Browse files
committed
documentation fixes
1 parent e5744a8 commit 6920e31

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

clang-tools-extra/clang-tidy/bugprone/InvalidEnumDefaultInitializationCheck.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
namespace clang::tidy::bugprone {
1515

16-
/// Detect default initialization (to 0) of variables with `enum` type where
16+
/// Detects default initialization (to 0) of variables with `enum` type where
1717
/// the enum has no enumerator with value of 0.
1818
///
1919
/// For the user-facing documentation see:

clang-tools-extra/docs/ReleaseNotes.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,12 @@ New checks
113113
pointer and store it as class members without handle the copy and move
114114
constructors and the assignments.
115115

116+
- New :doc:`bugprone-invalid-enum-default-initialization
117+
<clang-tidy/checks/bugprone/invalid-enum-default-initialization>` check.
118+
119+
Detects default initialization (to 0) of variables with ``enum`` type where
120+
the enum has no enumerator with value of 0.
121+
116122
- New :doc:`bugprone-unintended-char-ostream-output
117123
<clang-tidy/checks/bugprone/unintended-char-ostream-output>` check.
118124

@@ -125,12 +131,6 @@ New checks
125131
Finds potentially erroneous calls to ``reset`` method on smart pointers when
126132
the pointee type also has a ``reset`` method.
127133

128-
- New :doc:`bugprone-invalid-enum-default-initialization
129-
<clang-tidy/checks/bugprone/invalid-enum-default-initialization>` check.
130-
131-
Detect default initialization (to 0) of variables with ``enum`` type where
132-
the enum has no enumerator with value of 0.
133-
134134
New check aliases
135135
^^^^^^^^^^^^^^^^^
136136

clang-tools-extra/docs/clang-tidy/checks/bugprone/invalid-enum-default-initialization.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
bugprone-invalid-enum-default-initialization
44
============================================
55

6-
Detect default initialization (to 0) of variables with ``enum`` type where
6+
Detects default initialization (to 0) of variables with ``enum`` type where
77
the enum has no enumerator with value of 0.
88

99
In C++ a default initialization is performed if a variable is initialized with

0 commit comments

Comments
 (0)