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

Function header const order is changed when using Refactor / Add Definition

    XMLWordPrintable

Details

    Description

      When using Refactor / Add Definition menu, const keyword ends always before the type name, so, a method declared in the header file as:

      void myMethod(QString const s);

      will become:

      void MyClass::myMethod(const QString s)
      {
      }

      in the implementation file. I think that following the coding style found in the header would result in a better experience.

      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
              albert76 Albert
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes