In VsCode I would like to change my Clang formatting to :
class Test {
public:
Test() : tmp(0)
{
if (0 == 0) {
std::cout << "hello" << std::endl;
}
}
~Test();
protected:
private:
int tmp;
};
But currently I got :
class Test {
public:
Test() : tmp(0) {
if (0 == 0) {
std::cout << "hello" << std::endl;
}
}
~Test();
protected:
private:
int tmp;
};
My CLang settings :
{ BasedOnStyle: Google, IndentWidth: 4 }