Motivation: https://bugs.llvm.org/show_bug.cgi?id=35304
Diff Detail
Diff Detail
Event Timeline
| include/clang/Tooling/Refactoring/Rename/RenamingAction.h | ||
|---|---|---|
| 79 | Passing std::string object is fine here -- because we use std::move below to avoid the extra copy. Is the warning caught by the clang-tidy check? | |
| include/clang/Tooling/Refactoring/Rename/RenamingAction.h | ||
|---|---|---|
| 79 | Unfortunatelly, I haven't tested, but I believe it's checkcpp warning. | |
| include/clang/Tooling/Refactoring/Rename/RenamingAction.h | ||
|---|---|---|
| 79 | I think this is a false positive of the checkcpp. There is a similar clang-tidy "performance-unnecessary-value-param" check, but I don't think the check will warn this case. | |
Passing std::string object is fine here -- because we use std::move below to avoid the extra copy.
Is the warning caught by the clang-tidy check?