Lines Matching refs:AllowsMergedIf
293 FormatStyle AllowsMergedIf = getLLVMStyle(); in TEST_F() local
294 AllowsMergedIf.AllowShortIfStatementsOnASingleLine = true; in TEST_F()
298 AllowsMergedIf); in TEST_F()
301 AllowsMergedIf); in TEST_F()
304 AllowsMergedIf); in TEST_F()
308 AllowsMergedIf); in TEST_F()
311 AllowsMergedIf); in TEST_F()
315 AllowsMergedIf); in TEST_F()
319 AllowsMergedIf); in TEST_F()
321 AllowsMergedIf.ColumnLimit = 14; in TEST_F()
322 verifyFormat("if (a) return;", AllowsMergedIf); in TEST_F()
325 AllowsMergedIf); in TEST_F()
327 AllowsMergedIf.ColumnLimit = 13; in TEST_F()
328 verifyFormat("if (a)\n return;", AllowsMergedIf); in TEST_F()
6732 FormatStyle AllowsMergedIf = getGoogleStyle(); in TEST_F() local
6733 AllowsMergedIf.AllowShortIfStatementsOnASingleLine = true; in TEST_F()
6734 verifyFormat("void f() { f(); }\n#error E", AllowsMergedIf); in TEST_F()
6735 verifyFormat("if (true) return 42;\n#error E", AllowsMergedIf); in TEST_F()
6736 verifyFormat("if (true)\n#error E\n return 42;", AllowsMergedIf); in TEST_F()
6738 format("if (true)\nreturn 42;", AllowsMergedIf)); in TEST_F()
6739 FormatStyle ShortMergedIf = AllowsMergedIf; in TEST_F()