Searched refs:AllowSimpleBracedStatements (Results 1 – 1 of 1) sorted by relevance
355 FormatStyle AllowSimpleBracedStatements = getLLVMStyle(); in TEST_F() local356 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()[all …]