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

Clang: No auto-completion for std::make_unique ctor arguments

    XMLWordPrintable

Details

    Description

      (Using the clang code model.)

      Completion for constructor arguments when using std::make_unique does not work. Example:

      #include <memory>
      #include <string>
      // ...
      auto str_ptr = std::make_unique<std::string>(
      

      It would be nice if the code model could deduce that in this case, the arguments to make_unique are equivalent to a ctor call for std::string.

      Attachments

        Activity

          People

            yvvan Ivan Donchevskii
            realnc Nikos Chantziaras
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: