Skip to content

Commit ec04d45

Browse files
committed
note break build in doc
1 parent 721393e commit ec04d45

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

clang-tools-extra/docs/clang-tidy/checks/performance/unnecessary-value-param.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ Will become:
5454
Field = std::move(Value);
5555
}
5656

57+
Because the fix-it needs to change the signature of the function, it may break
58+
builds if the function is used in multiple translation units or some codes
59+
depends on funcion signatures.
60+
5761
Options
5862
-------
5963

0 commit comments

Comments
 (0)