Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 2.6.0-beta
-
None
-
Tested in Centos6
-
3256b7b2ef7073264af3197bdcd62f4f9fe92ea1
Description
If I consider the following code:
namespace BlahNS
{ using boost::shared_ptr; }void blah() {
boost::shared_ptr<MyBlah> blahPtr1;
BlahNS::shared_ptr<MyBlah> blahPtr2;
...
I get the following autocompletion behaviour:
blahPtr1. wait
v2.5 - autocompletion of the shared_ptr class (as expected)
v2.6 - autocompletion of the shared_ptr class (as expected)
blahPtr2. wait
v2.5 - autocompletion of the shared_ptr class (as expected)
v2.6 - autocompletion of the shared_ptr class (as expected)
blahPtr1-> wait
v2.5 - autocompletion of the MyBlah class (as expected)
v2.6 - autocompletion of the MyBlah class (as expected)
blahPtr2-> wait
v2.5 - autocompletion of the MyBlah class (as expected)
v2.6 - NOTHING (BAD!!!)
This is a pretty critical issue for the way our code is structured. This problem also existed in v2.1 and then was fixed in v2.x (2.2? 2.3?).
Thanks!
- Rob
Attachments
For Gerrit Dashboard: QTCREATORBUG-7978 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
37636,2 | C++: Fix typedef resolving when templates are involved. | 2.6 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |
62752,3 | C++: fix matching type with using from other namespace | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |