Details
Details
Diff Detail
Diff Detail
Event Timeline
clang-tidy/misc/MoveConstructorInitCheck.cpp | ||
---|---|---|
114 | 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
I guess, it should work without ->getName(). Could you try?