Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
None
-
Qt Creator 4.7.0-rc1, Qt Creator 4.8.0-beta1
-
Windows
Description
Private template methods are not marked in outline with correct icon (with "lock" overlay)
class A{ template<class t1> void static a(t1 v1) {v1=0;} void static b(int v1) {v1=0;} }; void f() { //A::a is private so error if int a; A::a(a); //'A::a' : cannot access private member declared in class 'A' }
With build-in code model gives:
Does not show 'lock'.
With clang code model:
shows 'lock' but does not show 's'.
Plus clang code model generates useless extra string with template type t1