• Home
  • Raw
  • Download

Lines Matching refs:ExtraSpaces

9279   FormatStyle ExtraSpaces = getLLVMStyle();  in TEST_F()  local
9280 ExtraSpaces.Cpp11BracedListStyle = false; in TEST_F()
9281 ExtraSpaces.ColumnLimit = 75; in TEST_F()
9282 verifyFormat("vector<int> x{ 1, 2, 3, 4 };", ExtraSpaces); in TEST_F()
9283 verifyFormat("vector<T> x{ {}, {}, {}, {} };", ExtraSpaces); in TEST_F()
9284 verifyFormat("f({ 1, 2 });", ExtraSpaces); in TEST_F()
9285 verifyFormat("auto v = Foo{ 1 };", ExtraSpaces); in TEST_F()
9286 verifyFormat("f({ 1, 2 }, { { 2, 3 }, { 4, 5 } }, c, { d });", ExtraSpaces); in TEST_F()
9287 verifyFormat("Class::Class : member{ 1, 2, 3 } {}", ExtraSpaces); in TEST_F()
9288 verifyFormat("new vector<int>{ 1, 2, 3 };", ExtraSpaces); in TEST_F()
9289 verifyFormat("new int[3]{ 1, 2, 3 };", ExtraSpaces); in TEST_F()
9290 verifyFormat("return { arg1, arg2 };", ExtraSpaces); in TEST_F()
9291 verifyFormat("return { arg1, SomeType{ parameter } };", ExtraSpaces); in TEST_F()
9292 verifyFormat("int count = set<int>{ f(), g(), h() }.size();", ExtraSpaces); in TEST_F()
9293 verifyFormat("new T{ arg1, arg2 };", ExtraSpaces); in TEST_F()
9294 verifyFormat("f(MyMap[{ composite, key }]);", ExtraSpaces); in TEST_F()
9298 ExtraSpaces); in TEST_F()
9304 ExtraSpaces); in TEST_F()
9305 verifyFormat("DoSomethingWithVector({} /* No data */);", ExtraSpaces); in TEST_F()
9307 ExtraSpaces); in TEST_F()
9314 ExtraSpaces); in TEST_F()
9318 ExtraSpaces); in TEST_F()
9332 verifyFormat("vector<int> foo = { ::SomeGlobalFunction() };", ExtraSpaces); in TEST_F()
9333 verifyFormat("const struct A a = { .a = 1, .b = 2 };", ExtraSpaces); in TEST_F()
9334 verifyFormat("const struct A a = { [0] = 1, [1] = 2 };", ExtraSpaces); in TEST_F()
9337 ExtraSpaces.PenaltyBreakBeforeFirstCallParameter = 200; in TEST_F()
9343 ExtraSpaces); in TEST_F()
9349 ExtraSpaces); in TEST_F()