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 a26280b commit f203eccCopy full SHA for f203ecc
doc/developer-notes.md
@@ -343,10 +343,9 @@ Strings and formatting
343
Variable names
344
--------------
345
346
-The shadowing warning (`-Wshadow`) is enabled by default. It prevents issues rising
347
-from using a different variable with the same name.
348
-
349
-Please name variables so that their names do not shadow variables defined in the source code.
+Although the shadowing warning (`-Wshadow`) is not enabled by default (it prevents issues rising
+from using a different variable with the same name),
+please name variables so that their names do not shadow variables defined in the source code.
350
351
E.g. in member initializers, prepend `_` to the argument name shadowing the
352
member name:
0 commit comments