Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 3.0.0-beta
-
None
-
a1c18d9e971069d8e12c7becf1cf8794c9e18cc2
Description
src.h:
struct Foo { Foo( Foo&& ); }
Refactor -> Add definition in 'file.cpp' gives:
Foo::Foo(Foo&) { }
First, rvalue reference become lvalue.
Second, coding format is broken, it should keep all spaces in their original places:
Foo::Foo( Foo&& ) { }
Attachments
Issue Links
- replaces
-
QTCREATORBUG-10164 Apply signature changes does not work for universal (rvalue) references
- Closed
-
QTCREATORBUG-10997 "Add Definition" fails when invoked on move-constructor or move-assignment operators.
- Closed
-
QTCREATORBUG-6221 Add Definition doesn't understand r-value references
- Closed