-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 3.4.0
-
None
-
de68ac54073cc3389abcc4cdaa0131bca7a44874, b5f6a9e6e57c0b43878167e3f1036516f21018e4 07f8c474be629de75780d235df62a50ae6f27870
struct Foo { int bar; };
Foo foo() { return Foo; }
typedef decltype(foo()) TypedefedFooWithDecltype;
template <typename _Tp>
struct Temp
{
struct Nested
{
static _Tp f();
typedef decltype(f()) type;
};
typedef typename Nested::type type;
};
void fun()
{
// simple
decltype(foo()) decltypeFoo;
decltypeFoo.;// code completion should work here
// typedef
TypedefedFooWithDecltype typedefedFooWithDecltype;
typedefedFooWithDecltype.;// code completion should work here
// nested instantiation typedef
Temp<Foo>::type nestedDeclType;
nestedDeclType.; // code completion should work here
}
- is required for
-
QTCREATORBUG-8922 Code completion does not work for std::vector of objects
-
- Closed
-
-
QTCREATORBUG-8937 Code Completion can not support std::unique_ptr
-
- Closed
-
| For Gerrit Dashboard: QTCREATORBUG-14483 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V |
| 93860,11 | C++: fix code completion for decltyped type | master | qt-creator/qt-creator | Status: MERGED | -2 | 0 |
| 112865,5 | C++: Fix decltype resolving for nested instantiated class | master | qt-creator/qt-creator | Status: MERGED | -2 | 0 |
| 112919,6 | C++: Fix decltype resolving for template function | master | qt-creator/qt-creator | Status: MERGED | -2 | 0 |