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

Refactor of functions parameters does not work for function with macro preceeding.

    XMLWordPrintable

    Details

    • Platform/s:
      Linux/X11
    • Commits:
      76ae5780c4ada9a44e35103fcc1247ff2b7fc53d (qt-creator/qt-creator/master)

      Description

      Refactor of function parameters does not work for functions declared with preceeding macro.

      fx.

      h-file contains this:
      DLL_PUBLIC void my_function(int a);

       

      cpp-file contains this:

      void my_function(int a) {

      }

       

      Rename of the variable 'a' and selecting "apply fuinction signature changes" fails.

       

      Interestingly navigation back and forth h<->cpp works - so the system does correlate declaration and definition.

        Attachments

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

          Activity

            People

            Assignee:
            kandeler Christian Kandeler
            Reporter:
            sgh Søren Holm
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes