Lines Matching refs:AllowSimpleBracedStatements
355 FormatStyle AllowSimpleBracedStatements = getLLVMStyle(); in TEST_F() local
356 AllowSimpleBracedStatements.AllowShortBlocksOnASingleLine = true; in TEST_F()
358 AllowSimpleBracedStatements.AllowShortIfStatementsOnASingleLine = true; in TEST_F()
359 AllowSimpleBracedStatements.AllowShortLoopsOnASingleLine = true; in TEST_F()
361 verifyFormat("if (true) {}", AllowSimpleBracedStatements); in TEST_F()
362 verifyFormat("while (true) {}", AllowSimpleBracedStatements); in TEST_F()
363 verifyFormat("for (;;) {}", AllowSimpleBracedStatements); in TEST_F()
364 verifyFormat("if (true) { f(); }", AllowSimpleBracedStatements); in TEST_F()
365 verifyFormat("while (true) { f(); }", AllowSimpleBracedStatements); in TEST_F()
366 verifyFormat("for (;;) { f(); }", AllowSimpleBracedStatements); in TEST_F()
370 AllowSimpleBracedStatements); in TEST_F()
375 AllowSimpleBracedStatements); in TEST_F()
381 AllowSimpleBracedStatements); in TEST_F()
386 AllowSimpleBracedStatements); in TEST_F()
388 AllowSimpleBracedStatements.AllowShortIfStatementsOnASingleLine = false; in TEST_F()
392 AllowSimpleBracedStatements); in TEST_F()
398 AllowSimpleBracedStatements); in TEST_F()
400 AllowSimpleBracedStatements.AllowShortLoopsOnASingleLine = false; in TEST_F()
404 AllowSimpleBracedStatements); in TEST_F()
408 AllowSimpleBracedStatements); in TEST_F()