Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
Qt Creator 3.4.0-beta1
-
None
Description
Happens a lot in Qt Creator classes that have typedef QSharedPointer<Class> Ptr;.
MWE:
struct User { void use(); }; template<class T> struct Pointer { T *operator->(); }; struct Foo { typedef Pointer<Foo> Ptr; int bar; }; void User::use() { typedef Foo MyFoo; MyFoo::Ptr myfoo; myfoo->bar; // bar not highlighted }
Attachments
Issue Links
- is replaced by
-
QTCREATORBUG-13978 Nested struct not resolved inside member function definition
- Closed
- relates to
-
QTCREATORBUG-13978 Nested struct not resolved inside member function definition
- Closed