-
Orgad Shaneh authored
The enclosingScope of a cloned nested class is not the original class but the cloned parent. Use-case: template <typename T> struct Temp { struct Nested { static T f(); typedef decltype(f()) type; }; }; struct Foo { int bar; }; void fun() { Temp<Foo>::Nested::type s; s.bar; // bar not highlighted } Task-number: QTCREATORBUG-14483 Change-Id: I3e15399a78a7492f740db8d0c7d5c84adf77d1d0 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
b5f6a9e6