Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 5.0.2, Qt Creator 6.0.0-beta2
-
None
-
-
f6c974fc1bf20211d7f6cc9c464a0fd00ba79168 (qt-creator/qt-creator/6.0)
Description
This is a regression between Qt Creator 4.15.2 and 5.0.0.
Find references doesn't work on members when auto value initialized with std::make_unique
#include <memory> struct MyStruct { int value = 1; }; int main() { auto myStruct = std::make_unique<MyStruct>(); return myStruct->value; // find usages doesn't work for "value" }
It worked fine on 4.15.2, but is broken on 5.0.0 and 5.0.2