Searched refs:ShortBlocks (Results 1 – 1 of 1) sorted by relevance
/external/clang/unittests/Format/ |
D | FormatTest.cpp | 10599 FormatStyle ShortBlocks = getLLVMStyle(); in TEST_F() local 10600 ShortBlocks.AllowShortBlocksOnASingleLine = true; in TEST_F() 10601 verifyFormat("int (^Block)(int, int);", ShortBlocks); in TEST_F() 10602 verifyFormat("int (^Block1)(int, int) = ^(int i, int j)", ShortBlocks); in TEST_F() 10603 verifyFormat("void (^block)(int) = ^(id test) { int i; };", ShortBlocks); in TEST_F() 10604 verifyFormat("void (^block)(int) = ^(int test) { int i; };", ShortBlocks); in TEST_F() 10605 verifyFormat("void (^block)(int) = ^id(int test) { int i; };", ShortBlocks); in TEST_F() 10606 verifyFormat("void (^block)(int) = ^int(int test) { int i; };", ShortBlocks); in TEST_F() 10608 verifyFormat("foo(^{ bar(); });", ShortBlocks); in TEST_F() 10609 verifyFormat("foo(a, ^{ bar(); });", ShortBlocks); in TEST_F() [all …]
|