File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,6 @@ the following heuristic is employed:
18
18
on it, or it is used as const reference or value argument in constructors or
19
19
function calls.
20
20
21
- Note: This check does not suggest passing parameters by reference in coroutines
22
- because, after a coroutine suspend point, references could be dangling and no
23
- longer valid, so suggested changes may result in hard-to-find bugs and crashes.
24
-
25
21
Example:
26
22
27
23
.. code-block :: c++
@@ -60,7 +56,11 @@ Will become:
60
56
61
57
Because the fix-it needs to change the signature of the function, it may break
62
58
builds if the function is used in multiple translation units or some codes
63
- depends on funcion signatures.
59
+ depends on function signatures.
60
+
61
+ Note: This check does not suggest passing parameters by reference in coroutines
62
+ because, after a coroutine suspend point, references could be dangling and no
63
+ longer valid, so suggested changes may result in hard-to-find bugs and crashes.
64
64
65
65
Options
66
66
-------
You can’t perform that action at this time.
0 commit comments