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:
1818 on it, or it is used as const reference or value argument in constructors or
1919 function calls.
2020
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-
2521Example:
2622
2723.. code-block :: c++
@@ -60,7 +56,11 @@ Will become:
6056
6157Because the fix-it needs to change the signature of the function, it may break
6258builds 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.
6464
6565Options
6666-------
You can’t perform that action at this time.
0 commit comments