Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 3.5.1
-
None
-
Kubuntu 15.04, x86_64
Description
With clang C++ code model, members of a base class that is not known at the use site are colored as data members. Consider this code snippet:
template< typename Base > struct foo : public Base { void bar() { Base::hello(); this->world(); } };
In this code both `hello` and `world` are colored as if they are data members. This may not be so and is not known at the point of their use. QtCreator should not make that assumption and color these symbols as regular code text.