Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
Qt Creator 10.0.1
-
None
Description
The clang format plugin is on saving changing the code in unwanted ways. That is going away as I disable the formatting in the settings, press "Apply" and enable full formatting again.
void bar() { if (foo) <--- it adds {} around the body do(); }
using namespace std::literals::string_view_literals;
void bar() {
std::string foo;
foo += "foo"sv; <--- id adds here a space before sv at saving. Which breaks the code.
}