Home
last modified time | relevance | path

Searched refs:AllowsMergedIf (Results 1 – 1 of 1) sorted by relevance

/external/clang/unittests/Format/
DFormatTest.cpp293 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 EXPECT_EQ("if (a) return;", format("if(a)\nreturn;", 7, 1, AllowsMergedIf)); in TEST_F()
[all …]