Lines Matching refs:verifyGoogleFormat

118 #define verifyGoogleFormat(Code) verifyFormat(Code, getGoogleStyle())  macro
2521 verifyGoogleFormat("switch (x) {\n" in TEST_F()
2533 verifyGoogleFormat("switch (x) {\n" in TEST_F()
2539 verifyGoogleFormat("switch (test)\n" in TEST_F()
2542 verifyGoogleFormat("#define OPERATION_CASE(name) \\\n" in TEST_F()
2545 verifyGoogleFormat("Operation codeToOperation(OperationCode OpCode) {\n" in TEST_F()
3273 verifyGoogleFormat("class A {\n" in TEST_F()
3279 verifyGoogleFormat("export class A {\n" in TEST_F()
3563 verifyGoogleFormat("enum {\n" in TEST_F()
3583 verifyGoogleFormat("enum ShortEnum { A, B, C };"); in TEST_F()
3760 verifyGoogleFormat("typedef NS_ENUM(NSInteger, SomeName) { AAA, BBB }"); in TEST_F()
3761 verifyGoogleFormat( in TEST_F()
3763 verifyGoogleFormat("typedef NS_ENUM(NSInteger, MyType) {\n" in TEST_F()
3771 verifyGoogleFormat("typedef NS_CLOSED_ENUM(NSInteger, MyType) {\n" in TEST_F()
3779 verifyGoogleFormat("typedef NS_OPTIONS(NSInteger, MyType) {\n" in TEST_F()
3784 verifyGoogleFormat("typedef CF_ENUM(NSInteger, MyType) {\n" in TEST_F()
3789 verifyGoogleFormat("typedef CF_CLOSED_ENUM(NSInteger, MyType) {\n" in TEST_F()
3794 verifyGoogleFormat("typedef CF_OPTIONS(NSInteger, MyType) {\n" in TEST_F()
4775 verifyGoogleFormat("const struct A a = {.a = 1, .b = 2};"); in TEST_F()
4802 verifyGoogleFormat("SomeType Status::global_reps[3] = {\n" in TEST_F()
6046 verifyGoogleFormat("DEBUG({\n" in TEST_F()
7392 verifyGoogleFormat( in TEST_F()
7395 verifyGoogleFormat( in TEST_F()
7402 verifyGoogleFormat( in TEST_F()
7406 verifyGoogleFormat("template <typename T>\n" in TEST_F()
7503 verifyGoogleFormat( in TEST_F()
7557 verifyGoogleFormat("void aaaaaaaaaaaaaa(aaaaaaaa aaa) override\n" in TEST_F()
7567 verifyGoogleFormat( in TEST_F()
7570 verifyGoogleFormat( in TEST_F()
7573 verifyGoogleFormat( in TEST_F()
7576 verifyGoogleFormat( in TEST_F()
7835 verifyGoogleFormat( in TEST_F()
9700 verifyGoogleFormat("A<A<int>> a;"); in TEST_F()
9701 verifyGoogleFormat("A<A<A<int>>> a;"); in TEST_F()
9702 verifyGoogleFormat("A<A<A<A<int>>>> a;"); in TEST_F()
9703 verifyGoogleFormat("A<A<int> > a;"); in TEST_F()
9704 verifyGoogleFormat("A<A<A<int> > > a;"); in TEST_F()
9705 verifyGoogleFormat("A<A<A<A<int> > > > a;"); in TEST_F()
9706 verifyGoogleFormat("A<::A<int>> a;"); in TEST_F()
9707 verifyGoogleFormat("A<::A> a;"); in TEST_F()
9708 verifyGoogleFormat("A< ::A> a;"); in TEST_F()
9709 verifyGoogleFormat("A< ::A<int> > a;"); in TEST_F()
9934 verifyGoogleFormat("operator void*();"); in TEST_F()
9935 verifyGoogleFormat("operator SomeType<SomeType<int>>();"); in TEST_F()
9936 verifyGoogleFormat("operator ::A();"); in TEST_F()
10243 verifyGoogleFormat("return sizeof(int**);"); in TEST_F()
10245 verifyGoogleFormat("Type** A = static_cast<Type**>(P);"); in TEST_F()
10263 verifyGoogleFormat("MACRO Constructor(const int& i) : a(a), b(b) {}"); in TEST_F()
10289 verifyGoogleFormat("int const* a = &b;"); in TEST_F()
10290 verifyGoogleFormat("**outparam = 1;"); in TEST_F()
10291 verifyGoogleFormat("*outparam = a * b;"); in TEST_F()
10292 verifyGoogleFormat("int main(int argc, char** argv) {}"); in TEST_F()
10293 verifyGoogleFormat("A<int*> a;"); in TEST_F()
10294 verifyGoogleFormat("A<int**> a;"); in TEST_F()
10295 verifyGoogleFormat("A<int*, int*> a;"); in TEST_F()
10296 verifyGoogleFormat("A<int**, int**> a;"); in TEST_F()
10297 verifyGoogleFormat("f(b ? *c : *d);"); in TEST_F()
10298 verifyGoogleFormat("int a = b ? *c : *d;"); in TEST_F()
10299 verifyGoogleFormat("Type* t = **x;"); in TEST_F()
10300 verifyGoogleFormat("Type* t = *++*x;"); in TEST_F()
10301 verifyGoogleFormat("*++*x;"); in TEST_F()
10302 verifyGoogleFormat("Type* t = const_cast<T*>(&*x);"); in TEST_F()
10303 verifyGoogleFormat("Type* t = x++ * y;"); in TEST_F()
10304 verifyGoogleFormat( in TEST_F()
10306 verifyGoogleFormat("void f(int i = 0, SomeType** temps = NULL);"); in TEST_F()
10307 verifyGoogleFormat("void f(Bar* a = nullptr, Bar* b);"); in TEST_F()
10308 verifyGoogleFormat("template <typename T>\n" in TEST_F()
10369 verifyGoogleFormat("for (int i = 0; i * 2 < z; i *= 2) {\n}"); in TEST_F()
10381 verifyGoogleFormat("A = new SomeType*[Length]();"); in TEST_F()
10382 verifyGoogleFormat("A = new SomeType*[Length];"); in TEST_F()
10383 verifyGoogleFormat("T** t = new T*;"); in TEST_F()
10384 verifyGoogleFormat("T** t = new T*();"); in TEST_F()
10614 verifyGoogleFormat("template <typename T>\n" in TEST_F()
10886 verifyGoogleFormat("int f(int a, char&& b) {}"); in TEST_F()
10887 verifyGoogleFormat("void f() { int&& a = b; }"); in TEST_F()
10891 verifyGoogleFormat("A<int&&> a;"); in TEST_F()
10892 verifyGoogleFormat("A<int&&, int&&> a;"); in TEST_F()
10898 verifyGoogleFormat("#define IF(a, b, c) if (a && (b == c))"); in TEST_F()
10899 verifyGoogleFormat("#define WHILE(a, b, c) while (a && (b == c))"); in TEST_F()
11055 verifyGoogleFormat("A<void*(int*, SomeType*)>;"); in TEST_F()
11056 verifyGoogleFormat("void* (*a)(int);"); in TEST_F()
11057 verifyGoogleFormat( in TEST_F()
11173 verifyGoogleFormat( in TEST_F()
11176 verifyGoogleFormat( in TEST_F()
11179 verifyGoogleFormat( in TEST_F()
11184 verifyGoogleFormat("template <typename T>\n" in TEST_F()
11187 verifyGoogleFormat("A<A<A>> aaaaaaaaaa(int aaaaaaaaaaaaaaaaaaaaaaaaaaa,\n" in TEST_F()
12104 verifyGoogleFormat("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa<int>\n" in TEST_F()
13666 verifyGoogleFormat("- (void)setDelegate:(id<Protocol>)delegate;"); in TEST_F()
13672 verifyGoogleFormat("- (int (*)())foo:(int (*)())foo;"); in TEST_F()
13678 verifyGoogleFormat("- foo:(int)foo;"); in TEST_F()
21464 verifyGoogleFormat("auto a = [&b, c](D* d) -> D* {};"); in TEST_F()
21465 verifyGoogleFormat("auto a = [&b, c](D* d) -> pair<D*, D*> {};"); in TEST_F()
21466 verifyGoogleFormat("auto a = [&b, c](D* d) -> D& {};"); in TEST_F()
21467 verifyGoogleFormat("auto a = [&b, c](D* d) -> const D* {};"); in TEST_F()