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

C++-Attributes mess with function search in locator

    XMLWordPrintable

    Details

    • Commits:
      dc66d30076495f84a7173797aafe7832b449da11 (qt-creator/qt-creator/master)

      Description

      Functions can befound in the locator with "." or "m".
      But when you add a C++ attribute to a function parameter the function can't be found with "m" and every attribute adds an entry for the function when searching with ".".

      e.g. this function is found 3 times with ".":

      int main([[maybe_unused]] int argc, [[maybe_unused]] char *argv[])
      {
      }
      

      Tested with master: 8d760eff8f5fd3f3b2c545706d55bba0ac16b729

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              kandeler Christian Kandeler
              Reporter:
              mkrems Marcel Krems
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes