Lines Matching refs:AllowsMergedIf
298 FormatStyle AllowsMergedIf = getLLVMStyle(); in TEST_F() local
299 AllowsMergedIf.AlignEscapedNewlinesLeft = true; in TEST_F()
300 AllowsMergedIf.AllowShortIfStatementsOnASingleLine = true; in TEST_F()
304 AllowsMergedIf); in TEST_F()
310 AllowsMergedIf); in TEST_F()
315 AllowsMergedIf); in TEST_F()
318 AllowsMergedIf); in TEST_F()
321 AllowsMergedIf); in TEST_F()
325 AllowsMergedIf); in TEST_F()
328 AllowsMergedIf); in TEST_F()
332 AllowsMergedIf); in TEST_F()
336 AllowsMergedIf); in TEST_F()
338 AllowsMergedIf.ColumnLimit = 14; in TEST_F()
339 verifyFormat("if (a) return;", AllowsMergedIf); in TEST_F()
342 AllowsMergedIf); in TEST_F()
344 AllowsMergedIf.ColumnLimit = 13; in TEST_F()
345 verifyFormat("if (a)\n return;", AllowsMergedIf); in TEST_F()
6927 FormatStyle AllowsMergedIf = getGoogleStyle(); in TEST_F() local
6928 AllowsMergedIf.AllowShortIfStatementsOnASingleLine = true; in TEST_F()
6929 verifyFormat("void f() { f(); }\n#error E", AllowsMergedIf); in TEST_F()
6930 verifyFormat("if (true) return 42;\n#error E", AllowsMergedIf); in TEST_F()
6931 verifyFormat("if (true)\n#error E\n return 42;", AllowsMergedIf); in TEST_F()
6933 format("if (true)\nreturn 42;", AllowsMergedIf)); in TEST_F()
6934 FormatStyle ShortMergedIf = AllowsMergedIf; in TEST_F()