reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1069 verifyGoogleFormat("switch (x) {\n" 1081 verifyGoogleFormat("switch (x) {\n" 1087 verifyGoogleFormat("switch (test)\n" 1090 verifyGoogleFormat("#define OPERATION_CASE(name) \\\n" 1093 verifyGoogleFormat("Operation codeToOperation(OperationCode OpCode) {\n" 1593 verifyGoogleFormat("class A {\n" 1599 verifyGoogleFormat("export class A {\n" 1780 verifyGoogleFormat("enum {\n" 1799 verifyGoogleFormat("enum ShortEnum { A, B, C };"); 1924 verifyGoogleFormat("typedef NS_ENUM(NSInteger, SomeName) { AAA, BBB }"); 1925 verifyGoogleFormat( 1927 verifyGoogleFormat("typedef NS_ENUM(NSInteger, MyType) {\n" 1935 verifyGoogleFormat("typedef NS_CLOSED_ENUM(NSInteger, MyType) {\n" 1943 verifyGoogleFormat("typedef NS_OPTIONS(NSInteger, MyType) {\n" 1948 verifyGoogleFormat("typedef CF_ENUM(NSInteger, MyType) {\n" 1953 verifyGoogleFormat("typedef CF_CLOSED_ENUM(NSInteger, MyType) {\n" 1958 verifyGoogleFormat("typedef CF_OPTIONS(NSInteger, MyType) {\n" 2608 verifyGoogleFormat("const struct A a = {.a = 1, .b = 2};"); 2635 verifyGoogleFormat("SomeType Status::global_reps[3] = {\n" 3820 verifyGoogleFormat("DEBUG({\n" 4916 verifyGoogleFormat( 4919 verifyGoogleFormat( 4926 verifyGoogleFormat( 4930 verifyGoogleFormat("template <typename T>\n" 5002 verifyGoogleFormat( 5056 verifyGoogleFormat("void aaaaaaaaaaaaaa(aaaaaaaa aaa) override\n" 5066 verifyGoogleFormat( 5069 verifyGoogleFormat( 5072 verifyGoogleFormat( 5075 verifyGoogleFormat( 5334 verifyGoogleFormat( 6789 verifyGoogleFormat("A<A<int>> a;"); 6790 verifyGoogleFormat("A<A<A<int>>> a;"); 6791 verifyGoogleFormat("A<A<A<A<int>>>> a;"); 6792 verifyGoogleFormat("A<A<int> > a;"); 6793 verifyGoogleFormat("A<A<A<int> > > a;"); 6794 verifyGoogleFormat("A<A<A<A<int> > > > a;"); 6795 verifyGoogleFormat("A<::A<int>> a;"); 6796 verifyGoogleFormat("A<::A> a;"); 6797 verifyGoogleFormat("A< ::A> a;"); 6798 verifyGoogleFormat("A< ::A<int> > a;"); 6979 verifyGoogleFormat("operator void*();"); 6980 verifyGoogleFormat("operator SomeType<SomeType<int>>();"); 6981 verifyGoogleFormat("operator ::A();"); 7182 verifyGoogleFormat("return sizeof(int**);"); 7184 verifyGoogleFormat("Type** A = static_cast<Type**>(P);"); 7198 verifyGoogleFormat("MACRO Constructor(const int& i) : a(a), b(b) {}"); 7224 verifyGoogleFormat("int const* a = &b;"); 7225 verifyGoogleFormat("**outparam = 1;"); 7226 verifyGoogleFormat("*outparam = a * b;"); 7227 verifyGoogleFormat("int main(int argc, char** argv) {}"); 7228 verifyGoogleFormat("A<int*> a;"); 7229 verifyGoogleFormat("A<int**> a;"); 7230 verifyGoogleFormat("A<int*, int*> a;"); 7231 verifyGoogleFormat("A<int**, int**> a;"); 7232 verifyGoogleFormat("f(b ? *c : *d);"); 7233 verifyGoogleFormat("int a = b ? *c : *d;"); 7234 verifyGoogleFormat("Type* t = **x;"); 7235 verifyGoogleFormat("Type* t = *++*x;"); 7236 verifyGoogleFormat("*++*x;"); 7237 verifyGoogleFormat("Type* t = const_cast<T*>(&*x);"); 7238 verifyGoogleFormat("Type* t = x++ * y;"); 7239 verifyGoogleFormat( 7241 verifyGoogleFormat("void f(int i = 0, SomeType** temps = NULL);"); 7242 verifyGoogleFormat("void f(Bar* a = nullptr, Bar* b);"); 7243 verifyGoogleFormat("template <typename T>\n" 7291 verifyGoogleFormat("for (int i = 0; i * 2 < z; i *= 2) {\n}"); 7303 verifyGoogleFormat("A = new SomeType*[Length]();"); 7304 verifyGoogleFormat("A = new SomeType*[Length];"); 7305 verifyGoogleFormat("T** t = new T*;"); 7306 verifyGoogleFormat("T** t = new T*();"); 7389 verifyGoogleFormat("template <typename T>\n" 7484 verifyGoogleFormat("int f(int a, char&& b) {}"); 7485 verifyGoogleFormat("void f() { int&& a = b; }"); 7489 verifyGoogleFormat("A<int&&> a;"); 7490 verifyGoogleFormat("A<int&&, int&&> a;"); 7496 verifyGoogleFormat("#define IF(a, b, c) if (a && (b == c))"); 7497 verifyGoogleFormat("#define WHILE(a, b, c) while (a && (b == c))"); 7631 verifyGoogleFormat("A<void*(int*, SomeType*)>;"); 7632 verifyGoogleFormat("void* (*a)(int);"); 7633 verifyGoogleFormat( 7743 verifyGoogleFormat( 7746 verifyGoogleFormat( 7749 verifyGoogleFormat( 7754 verifyGoogleFormat("template <typename T>\n" 7757 verifyGoogleFormat("A<A<A>> aaaaaaaaaa(int aaaaaaaaaaaaaaaaaaaaaaaaaaa,\n" 7798 verifyGoogleFormat("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa<int>\n" 9156 verifyGoogleFormat("- (void)setDelegate:(id<Protocol>)delegate;"); 9162 verifyGoogleFormat("- (int (*)())foo:(int (*)())foo;"); 9168 verifyGoogleFormat("- foo:(int)foo;"); 13463 verifyGoogleFormat("auto a = [&b, c](D* d) -> D* {};"); 13464 verifyGoogleFormat("auto a = [&b, c](D* d) -> pair<D*, D*> {};"); 13465 verifyGoogleFormat("auto a = [&b, c](D* d) -> D& {};"); 13466 verifyGoogleFormat("auto a = [&b, c](D* d) -> const D* {};");