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

wrong autocompletion for std::string argument of a function with gcc5

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • None
    • Qt Creator 3.6.0-rc1
    • None
    • Debian testing amd64 with Qt5/KF5/gcc5

    Description

      Noticed in 3.6rc1 that autocompletion for std::string function arguments is wrong. For example, if a declare a function

      void foo(std::string &s);
      

      and try to define it somewhere else, I type void foo( and then qtc suggests next signature (it's more clear what I mean in the screenshot):

      void foo(std::__cxx11::string &s)
      

      This doesn't happening when use string without std:: prefix

      Attachments

        1. qtc.std.string.suggestion.png
          50 kB
          gena
        2. qtc.suggestion.png
          36 kB
          Gena Bug
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kosjar Nikolai Kosjar
            genacid gena
            Votes:
            4 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes