Created attachment 137397 [details] Screenshot of the example If an if statement includes an init-statement, itself and the conditional will be not highlighted fully. In addition a variable declared in the init statement will not have a semantic colored assigned to it. This is with C++17 selected in the project configuration. Example: if (auto b = std::vector<int>().size(); b > 2) { b = 5; auto c = std::vector<int>().size(); }
Works after rebuilding with clang 11