Lines Matching refs:sort
16 std::string sort(StringRef Code, std::vector<tooling::Range> Ranges) { in sort() function in clang::format::__anon754d73d60111::SortImportsTestJava
27 std::string sort(StringRef Code) { return sort(Code, GetCodeRange(Code)); } in sort() function in clang::format::__anon754d73d60111::SortImportsTestJava
43 sort("import org.a;\n" in TEST_F()
51 sort("import org.a.Test;\n" in TEST_F()
69 sort("import static com.test.a;\n" in TEST_F()
95 sort("import static com.test.a;\n" in TEST_F()
112 sort("import com.test.a;\n" in TEST_F()
126 sort("import org.b;\n" in TEST_F()
143 sort("import org.b;\n" in TEST_F()
157 sort("import org.aa;\n" in TEST_F()
167 sort("import org.a; // static\n" in TEST_F()
180 sort("import org.a;\n" in TEST_F()
193 sort("import org.a;\n" in TEST_F()
202 sort("import org.b;\n" in TEST_F()
211 sort("// comment\n" in TEST_F()
221 sort("// clang-format off\n" in TEST_F()
232 sort("// clang-format off\n" in TEST_F()
245 sort("// clang-format off\n" in TEST_F()
266 sort("import static com.test.a;\n" in TEST_F()
286 sort("import static com.test.a;\n" in TEST_F()
303 sort("import com.test.a;\n" in TEST_F()
310 EXPECT_EQ("import org.a;\n", sort("import org.a;\n" in TEST_F()
317 sort("import org.b;\n" in TEST_F()
328 sort("import X;\n" in TEST_F()