Lines Matching defs:ExtraSpaces
6372 FormatStyle ExtraSpaces = getLLVMStyle();
6373 ExtraSpaces.Cpp11BracedListStyle = false;
6374 ExtraSpaces.ColumnLimit = 75;
6375 verifyFormat("vector<int> x{ 1, 2, 3, 4 };", ExtraSpaces);
6376 verifyFormat("vector<T> x{ {}, {}, {}, {} };", ExtraSpaces);
6377 verifyFormat("f({ 1, 2 });", ExtraSpaces);
6378 verifyFormat("auto v = Foo{ 1 };", ExtraSpaces);
6379 verifyFormat("f({ 1, 2 }, { { 2, 3 }, { 4, 5 } }, c, { d });", ExtraSpaces);
6380 verifyFormat("Class::Class : member{ 1, 2, 3 } {}", ExtraSpaces);
6381 verifyFormat("new vector<int>{ 1, 2, 3 };", ExtraSpaces);
6382 verifyFormat("new int[3]{ 1, 2, 3 };", ExtraSpaces);
6383 verifyFormat("return { arg1, arg2 };", ExtraSpaces);
6384 verifyFormat("return { arg1, SomeType{ parameter } };", ExtraSpaces);
6385 verifyFormat("int count = set<int>{ f(), g(), h() }.size();", ExtraSpaces);
6386 verifyFormat("new T{ arg1, arg2 };", ExtraSpaces);
6387 verifyFormat("f(MyMap[{ composite, key }]);", ExtraSpaces);
6391 ExtraSpaces);
6397 ExtraSpaces);
6398 verifyFormat("DoSomethingWithVector({} /* No data */);", ExtraSpaces);
6400 ExtraSpaces);
6407 ExtraSpaces);
6411 ExtraSpaces);
6425 verifyFormat("vector<int> foo = { ::SomeGlobalFunction() };", ExtraSpaces);