Searched refs:verifyFormat (Results 1 – 4 of 4) sorted by relevance
56 void verifyFormat(llvm::StringRef Code, in verifyFormat() function in clang::format::FormatTest62 verifyFormat(Code, getGoogleStyle()); in verifyGoogleFormat()66 verifyFormat(text); in verifyIndependentOfContext()67 verifyFormat(llvm::Twine("void f() { " + text + " }").str()); in verifyIndependentOfContext()105 verifyFormat("Method(f1, f2(f3));"); in TEST_F()106 verifyFormat("Method(f1(f2, f3()));"); in TEST_F()107 verifyFormat("Method(f1(f2, (f3())));"); in TEST_F()111 verifyFormat("vector<::Type> v;"); in TEST_F()112 verifyFormat("::ns::SomeFunction(::ns::SomeOtherFunction())"); in TEST_F()113 verifyFormat("static constexpr bool Bar = decltype(bar())::value;"); in TEST_F()[all …]
46 static void verifyFormat( in verifyFormat() function in clang::format::FormatTestJS54 verifyFormat("a == = b;"); in TEST_F()55 verifyFormat("a != = b;"); in TEST_F()57 verifyFormat("a === b;"); in TEST_F()58 verifyFormat("aaaaaaa ===\n b;", getGoogleJSStyleWithColumns(10)); in TEST_F()59 verifyFormat("a !== b;"); in TEST_F()60 verifyFormat("aaaaaaa !==\n b;", getGoogleJSStyleWithColumns(10)); in TEST_F()61 verifyFormat("if (a + b + c +\n" in TEST_F()67 verifyFormat("a >> >= b;"); in TEST_F()69 verifyFormat("a >>> b;"); in TEST_F()[all …]
46 static void verifyFormat( in verifyFormat() function in clang::format::FormatTestJava54 verifyFormat("someObject.and();"); in TEST_F()58 verifyFormat("a[b >> 1] = (byte) (c() << 4);"); in TEST_F()63 verifyFormat("return aaaaaaaaaaaaaaaaaaaaaaaaaaaaa\n" in TEST_F()67 verifyFormat("return aaaaaaaaaaaaaaaaaaaaaaaaaaaaa instanceof\n" in TEST_F()73 verifyFormat("class SomeClass {\n" in TEST_F()88 verifyFormat("public some.package.Type someFunction( // comment\n" in TEST_F()93 verifyFormat("SomeClass.class.getName();"); in TEST_F()94 verifyFormat("Class c = SomeClass.class;"); in TEST_F()98 verifyFormat("public class SomeClass {\n" in TEST_F()[all …]
40 static void verifyFormat(llvm::StringRef Code) { in verifyFormat() function in clang::format::FormatTestProto46 verifyFormat("message SomeMessage {\n" in TEST_F()49 verifyFormat("message SomeMessage {\n" in TEST_F()52 verifyFormat("message SomeMessage {\n" in TEST_F()57 verifyFormat("message SomeMessage {\n" in TEST_F()67 verifyFormat("enum Type {\n" in TEST_F()75 verifyFormat("rpc Search(SearchRequest) returns (SearchResponse);"); in TEST_F()79 verifyFormat("optional string test = 1 [default = \"test\"];"); in TEST_F()80 verifyFormat("optional bool a = 1 [default = true, deprecated = true];"); in TEST_F()81 verifyFormat("optional LongMessageType long_proto_field = 1\n" in TEST_F()[all …]