Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 7.0.0
-
None
-
Kubuntu 21.10 x86-64
-
-
25144c0afe (qt-creator/qt-creator/7.0) 25144c0afe (qt-creator/qt-creator/master) 25144c0afe (qt-creator/qt-creator/qds-3.3) 25144c0afe (qt-creator/tqtc-qt-creator/7.0)
Description
In the following example, with clangd enabled, vec and ptr inside foo are incorrectly highlighted as output parameters:
#include <vector> template< typename T > class my_class { private: struct my_int { int n; }; std::vector< my_int > vec; public: void foo() { auto it = vec.begin(), end = vec.end(); T* ptr = nullptr; ptr->bar(); } };