Searched refs:AllowSimpleBracedStatements (Results 1 – 1 of 1) sorted by relevance
372 FormatStyle AllowSimpleBracedStatements = getLLVMStyle(); in TEST_F() local373 AllowSimpleBracedStatements.AllowShortBlocksOnASingleLine = true; in TEST_F()375 AllowSimpleBracedStatements.AllowShortIfStatementsOnASingleLine = true; in TEST_F()376 AllowSimpleBracedStatements.AllowShortLoopsOnASingleLine = true; in TEST_F()378 verifyFormat("if (true) {}", AllowSimpleBracedStatements); in TEST_F()379 verifyFormat("while (true) {}", AllowSimpleBracedStatements); in TEST_F()380 verifyFormat("for (;;) {}", AllowSimpleBracedStatements); in TEST_F()381 verifyFormat("if (true) { f(); }", AllowSimpleBracedStatements); in TEST_F()382 verifyFormat("while (true) { f(); }", AllowSimpleBracedStatements); in TEST_F()383 verifyFormat("for (;;) { f(); }", AllowSimpleBracedStatements); in TEST_F()[all …]