c++ - clang-format stream output -


clang-format formats code follow:

std::cout << 1 << 1 << 1 << 1 << 1 << 1           << 1 << 1 << 1 << 1 << 1 << 1; 

but style-guide requires:

std::cout << 1 << 1 << 1 << 1 << 1 << 1 <<     1 << 1 << 1 << 1 << 1 << 1; 

i tried setting breakbeforebinaryoperators:none , alignoperands:false, didn't me. there other options?


Comments