[cfe-dev] clang-format: setting to control spaces in C arrays?

Sean McBride sean at rogue-research.com
Tue Jul 22 11:55:16 PDT 2014


Hi all,

Try as I may, I can't find if there is a setting to _stop_ clang-format from changing this:

	float pattern[] = {7.0f, 1.0f};

into this:

	float pattern[] = { 7.0f, 1.0f };

Is there one?

Thanks,

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada






More information about the cfe-dev mailing list