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 c96860a commit 0aacef3Copy full SHA for 0aacef3
clang-tools-extra/docs/clang-tidy/checks/readability/identifier-length.rst
@@ -28,10 +28,7 @@ The following options are described below:
28
29
.. code-block:: c++
30
31
- int doubler(int x) // warns that x is too short
32
- {
33
- return 2 * x;
34
- }
+ int i = 42; // warns that 'i' is too short
35
36
This check does not have any fix suggestions in the general case since
37
variable names have semantic value.
@@ -50,7 +47,10 @@ The following options are described below:
50
47
51
48
52
49
53
- int i = 42; // warns that 'i' is too short
+ int doubler(int x) // warns that x is too short
+ {
+ return 2 * x;
+ }
54
55
56
0 commit comments