Commit 4ef16e3
authored
[NFC][clang-tidy] document fix to bugprone-return-const-ref-from-parameter (llvm#107641)
Describe how the issue that is diagnosed by this check can be resolved.
Namely, by adding an overload for the xvalue case (`&&` parameter).
Fixes llvm#1076001 parent b9d85b1 commit 4ef16e3
File tree
1 file changed
+9
-0
lines changed- clang-tools-extra/docs/clang-tidy/checks/bugprone
1 file changed
+9
-0
lines changedLines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
15 | 24 | | |
16 | 25 | | |
17 | 26 | | |
| |||
0 commit comments