• Home
  • Raw
  • Download

Lines Matching defs:t

296   auto t = makeNamedDecls("void foo();", "template<class T> void foo();",  in TEST_F()  local
302 auto t = makeDecls<FunctionDecl>( in TEST_F() local
310 auto t = makeDecls<FunctionDecl>( in TEST_F() local
318 auto t = makeDecls<FunctionDecl>("struct X{ X(); };", "struct X{ ~X(); };", in TEST_F() local
325 auto t = in TEST_F() local
331 auto t = makeNamedDecls("void foo(int);", "void foo(const int);", Lang_CXX03); in TEST_F() local
337 auto t = makeNamedDecls("void foo();", "void foo() throw();", Lang_CXX03); in TEST_F() local
342 auto t = makeNamedDecls("void foo();", in TEST_F() local
348 auto t = makeNamedDecls("void foo() throw();", in TEST_F() local
354 auto t = makeNamedDecls("void foo() throw();", in TEST_F() local
360 auto t = makeNamedDecls("void foo() throw();", in TEST_F() local
366 auto t = makeNamedDecls("void foo() noexcept(false);", in TEST_F() local
372 auto t = makeNamedDecls("void foo() noexcept(false);", in TEST_F() local
378 auto t = makeNamedDecls("void foo() noexcept;", in TEST_F() local
384 auto t = makeNamedDecls("void foo() noexcept;", in TEST_F() local
390 auto t = makeNamedDecls("char foo();", "int foo();", Lang_CXX03); in TEST_F() local
395 auto t = makeNamedDecls("char foo();", "const char foo();", Lang_CXX03); in TEST_F() local
400 auto t = makeNamedDecls("char &foo();", in TEST_F() local
406 auto t = makeNamedDecls("void foo(int);", "void foo(int, int);", Lang_CXX03); in TEST_F() local
411 auto t = makeNamedDecls("void foo(int);", "void foo(char);", Lang_CXX03); in TEST_F() local
416 auto t = makeNamedDecls("void foo(int a);", "void foo(int b);", Lang_CXX03); in TEST_F() local
421 auto t = in TEST_F() local
427 auto t = makeNamedDecls("void foo(int *);", "void foo(int);", Lang_CXX03); in TEST_F() local
432 auto t = makeNamedDecls("void ((foo))();", "void foo();", Lang_CXX03); in TEST_F() local
437 auto t = makeNamedDecls( in TEST_F() local
445 auto t = makeNamedDecls( in TEST_F() local
453 auto t = makeNamedDecls("__attribute__((noreturn)) void foo();", in TEST_F() local
464 auto t = makeNamedDecls("__attribute__((preserve_all)) void foo();", in TEST_F() local
473 auto t = makeNamedDecls( in TEST_F() local
483 auto t = makeDecls<CXXMethodDecl>("struct X { void foo(); };", in TEST_F() local
490 auto t = makeNamedDecls("struct X { virtual void foo(); };", in TEST_F() local
497 auto t = in TEST_F() local
504 auto t = makeNamedDecls("struct X { void foo(); };", in TEST_F() local
510 auto t = makeNamedDecls("struct X { void foo(); };", in TEST_F() local
516 auto t = makeNamedDecls("struct X { void foo(); };", in TEST_F() local
522 auto t = makeNamedDecls("struct X { void foo() &; };", in TEST_F() local
528 auto t = makeDecls<CXXMethodDecl>("struct X { public: void foo(); };", in TEST_F() local
535 auto t = makeNamedDecls("struct X { void foo(); };", in TEST_F() local
541 auto t = makeDecls<FunctionDecl>("void foo();", "struct foo { foo(); };", in TEST_F() local
548 auto t = makeDecls<CXXConstructorDecl>("struct X { X(); };", in TEST_F() local
555 auto t = makeDecls<CXXConstructorDecl>("struct X { X(int); };", in TEST_F() local
563 auto t = makeDecls<CXXConstructorDecl>("struct X { X(); };", in TEST_F() local
571 auto t = makeDecls<CXXConversionDecl>("struct X { operator bool(); };", in TEST_F() local
579 auto t = in TEST_F() local
588 auto t = makeDecls<FunctionDecl>( in TEST_F() local
596 auto t = makeDecls<FunctionDecl>( in TEST_F() local
612 auto t = makeDecls<CXXRecordDecl>("struct A{ };", "struct B{ };", Lang_CXX03, in TEST_F() local
619 auto t = makeNamedDecls("struct foo{ int x; };", "struct foo{ char x; };", in TEST_F() local
626 auto t = makeNamedDecls("struct foo{ int x(); };", "struct foo{ char x(); };", in TEST_F() local
632 auto t = makeNamedDecls("struct A{ }; struct foo: A { };", in TEST_F() local
638 auto t = in TEST_F() local
646 auto t = in TEST_F() local
661 auto t = makeNamedDecls(Code, Code, Lang_CXX03); in TEST_F() local
666 auto t = makeTuDecls( in TEST_F() local
693 auto t = makeTuDecls( in TEST_F() local
723 auto t = makeTuDecls( in TEST_F() local
776 auto t = makeTuDecls(Code, Code, Lang_C99); in TEST_F() local
800 auto t = makeDecls<CXXRecordDecl>("struct A { };", in TEST_F() local
808 auto t = makeNamedDecls("class foo;", "class foo;", Lang_CXX11); in TEST_F() local
814 auto t = in TEST_F() local
821 auto t = makeNamedDecls("class foo { int A; };", "class foo { int A; };", in TEST_F() local
827 auto t = makeNamedDecls("class foo { int B; };", "class foo { int A; };", in TEST_F() local
833 auto t = makeNamedDecls("struct foo { friend class X; };", in TEST_F() local
840 auto t = makeNamedDecls("struct foo { friend class X; friend class Y; };", in TEST_F() local
847 auto t = makeNamedDecls("struct foo { friend class X; friend class Y; };", in TEST_F() local
858 auto t = makeDecls<LambdaExpr>( in TEST_F() local
870 auto t = makeDecls<LambdaExpr>( in TEST_F() local
882 auto t = makeDecls<LambdaExpr>( in TEST_F() local
894 auto t = makeDecls<LambdaExpr>( in TEST_F() local
906 auto t = makeNamedDecls("struct A{ }; struct B{ }; void foo(A a, A b);", in TEST_F() local
935 auto t = makeNamedDecls("enum class foo;", "enum class foo;", Lang_CXX11); in TEST_F() local
941 auto t = in TEST_F() local
948 auto t = makeNamedDecls("enum class foo { A };", "enum class foo { A };", in TEST_F() local
954 auto t = makeNamedDecls("enum class foo { B };", "enum class foo { A };", in TEST_F() local
962 auto t = makeNamedDecls("template <class T> struct foo;", in TEST_F() local
968 auto t = makeNamedDecls("template <class T> struct foo;", in TEST_F() local
974 auto t = makeNamedDecls("template <class T> struct foo;", in TEST_F() local
981 auto t = makeNamedDecls(Code, Code, Lang_CXX03); in TEST_F() local
986 auto t = makeNamedDecls("class foo { int a : 2; };", in TEST_F() local
993 auto t = makeNamedDecls(Code, Code, Lang_CXX03); in TEST_F() local
998 auto t = makeNamedDecls( in TEST_F() local
1006 auto t = makeNamedDecls( in TEST_F() local
1036 auto t = makeDecls<ClassTemplateSpecializationDecl>( in TEST_F() local
1066 auto t = makeDecls<ClassTemplateSpecializationDecl>( in TEST_F() local
1114 auto t = makeDecls<FunctionTemplateDecl>(Code, Code, Lang_CXX11, in TEST_F() local
1132 auto t = makeDecls<FunctionTemplateDecl>(Code + R"( in TEST_F() local
1167 auto t = makeDecls<FunctionTemplateDecl>(Code, Code, Lang_CXX11, in TEST_F() local
1185 auto t = makeDecls<FunctionTemplateDecl>(Code + R"( in TEST_F() local
1214 auto t = makeDecls<FunctionTemplateDecl>(Code + R"( in TEST_F() local
1236 auto t = makeDecls<ClassTemplateSpecializationDecl>( in TEST_F() local
1261 auto t = makeDecls<ClassTemplateSpecializationDecl>( in TEST_F() local
1287 auto t = makeDecls<ClassTemplateSpecializationDecl>( in TEST_F() local
1312 auto t = makeDecls<ClassTemplateSpecializationDecl>( in TEST_F() local
1338 auto t = makeDecls<ClassTemplateSpecializationDecl>( in TEST_F() local
1488 auto t = makeWrappedStmts("lbl: &&lbl;", "lbl: &&lbl;", Lang_CXX03, in TEST_F() local
1494 auto t = makeWrappedStmts("lbl1: lbl2: &&lbl1;", "lbl1: lbl2: &&lbl2;", in TEST_F() local
1513 auto t = makeStmts( in TEST_F() local
1524 auto t = makeStmts( in TEST_F() local
1534 auto t = makeWrappedStmts("1 + 1", "1 + 1", Lang_CXX03, binaryOperator()); in TEST_F() local
1539 auto t = makeWrappedStmts("1 + 1", "1 - 1", Lang_CXX03, binaryOperator()); in TEST_F() local
1545 auto t = makeStmts(Src, Src, Lang_CXX03, callExpr()); in TEST_F() local
1551 auto t = makeStmts(FunctionSrc + "void wrapper() { func1(); }", in TEST_F() local
1558 auto t = makeWrappedStmts("'a'", "'a'", Lang_CXX03, characterLiteral()); in TEST_F() local
1563 auto t = makeWrappedStmts("'a'", "'b'", Lang_CXX03, characterLiteral()); in TEST_F() local
1568 auto t = makeWrappedStmts("__is_lvalue_expr(1)", "__is_lvalue_expr(1)", in TEST_F() local
1574 auto t = makeWrappedStmts("__is_lvalue_expr(1)", "__is_rvalue_expr(1)", in TEST_F() local
1580 auto t = makeWrappedStmts("1.0", "1.0", Lang_CXX03, fallbackExprMatcher()); in TEST_F() local
1585 auto t = makeWrappedStmts("0x10.1p0", "16.0625", Lang_CXX17, in TEST_F() local
1592 auto t = makeWrappedStmts("1.0", "1.0f", Lang_CXX03, fallbackExprMatcher()); in TEST_F() local
1597 auto t = makeWrappedStmts("1.01", "1.0", Lang_CXX03, fallbackExprMatcher()); in TEST_F() local
1602 auto t = makeWrappedStmts("1", "1", Lang_CXX03, integerLiteral()); in TEST_F() local
1607 auto t = makeWrappedStmts("1", "0x1", Lang_CXX03, integerLiteral()); in TEST_F() local
1613 auto t = makeWrappedStmts("1", "2", Lang_CXX03, integerLiteral()); in TEST_F() local
1618 auto t = makeWrappedStmts("1", "1L", Lang_CXX03, integerLiteral()); in TEST_F() local
1624 auto t = makeStmts(ClassSrc + "int wrapper() { C c; return c.a; }", in TEST_F() local
1632 auto t = makeStmts(ClassSrc + "int wrapper() { C c; return c.a; }", in TEST_F() local
1639 auto t = in TEST_F() local
1645 auto t = in TEST_F() local
1651 auto t = makeWrappedStmts("\"a\"", "\"a\"", Lang_CXX03, stringLiteral()); in TEST_F() local
1656 auto t = makeWrappedStmts("\"a\"", "\"b\"", Lang_CXX03, stringLiteral()); in TEST_F() local
1661 auto t = makeWrappedStmts("\"a\"", "\"aa\"", Lang_CXX03, stringLiteral()); in TEST_F() local
1666 auto t = makeWrappedStmts("__is_pod(int)", "__is_pod(int)", Lang_CXX03, in TEST_F() local
1672 auto t = makeWrappedStmts("__is_pod(int)", "__is_pod(long)", Lang_CXX03, in TEST_F() local
1678 auto t = makeWrappedStmts( in TEST_F() local
1684 auto t = makeWrappedStmts("__is_constructible(int)", in TEST_F() local
1690 auto t = makeWrappedStmts("sizeof(int)", "sizeof(int)", Lang_CXX03, in TEST_F() local
1696 auto t = makeWrappedStmts("sizeof(int)", "alignof(long)", Lang_CXX11, in TEST_F() local
1702 auto t = makeWrappedStmts("sizeof(int)", "sizeof(long)", Lang_CXX03, in TEST_F() local
1708 auto t = makeWrappedStmts("+1", "+1", Lang_CXX03, unaryOperator()); in TEST_F() local
1713 auto t = makeWrappedStmts("+1", "-1", Lang_CXX03, unaryOperator()); in TEST_F() local