Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-10164

Apply signature changes does not work for universal (rvalue) references

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 2.8.0
    • C/C++/Obj-C++ Support
    • None
    • OSX 10.8.4

    Description

      If I change a function from

       
      DoSomething(QString VariableName);
      

      to

       
      DoSomething(QString&& VariableName);
      

      and then press ALT+Enter, "Apply signature changes" it results in

       
      DoSomething(QString& VariableName){...}
      

      in the implementation. The universal (rvalue) reference is turned into a lvalue reference.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              kosjar Nikolai Kosjar
              hardcodes.de Sven Putze
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes