Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
clang-tidy/misc/MoveConstructorInitCheck.cpp | ||
---|---|---|
114 ↗ | (On Diff #55935) | I guess, it should work without ->getName(). Could you try? |
Comment Actions
I'm not opposed to showing the name, but I'm not certain I understand under what circumstances the name would be useful. Since this is triggering on move constructors, and move constructors can only have one parameter, the name seems wholly redundant, isn't it?
Comment Actions
The case this is covering is when a value parameter can be moved, of which there can be many.
Comment Actions
Ah, I think I was thrown by the fact that the only instance of the diagnostic was with a move constructor in a check called misc-move-constructor-init. :-P