Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
Qt Creator 4.4.0-beta1
-
Gentoo Linux AMD64
Qt Creator 4.4.0 beta1 installed from: https://download.qt.io/development_releases/qtcreator/4.4/4.4.0-beta1/qt-creator-opensource-linux-x86_64-4.4.0-beta1.run
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
Issue Links
For Gerrit Dashboard: QTCREATORBUG-18615 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
202196,7 | Clang: Workaround completion for make_unique/shared | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |