reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
105 const auto AST = buildASTFromCode("void f() { int x; x; }"); 115 const auto AST = buildASTFromCode("void f() { int x; " + ModExpr + "; }"); 129 const auto AST = buildASTFromCode("void f() { int x; " + ModExpr + "; }"); 139 const auto AST = buildASTFromCode( 169 const auto AST = buildASTFromCode( 177 const auto AST = buildASTFromCode( 185 const auto AST = buildASTFromCode( 193 auto AST = buildASTFromCode("void g(int); void f() { int x; g(x); }"); 198 AST = buildASTFromCode("void g(int*); void f() { int* x; g(x); }"); 202 AST = buildASTFromCode("typedef int* IntPtr;" 207 AST = buildASTFromCode( 212 AST = buildASTFromCode("void f() { struct A { A(int); }; int x; A y(x); }"); 216 AST = buildASTFromCode("struct A { A(); A& operator=(A); };" 221 AST = buildASTFromCode( 229 auto AST = buildASTFromCode("void g(const int); void f() { int x; g(x); }"); 234 AST = buildASTFromCode("void g(int* const); void f() { int* x; g(x); }"); 238 AST = buildASTFromCode("typedef int* const CIntPtr;" 243 AST = buildASTFromCode( 248 AST = buildASTFromCode( 253 AST = buildASTFromCode("template <int> struct A { A(); A(const A&);" 261 auto AST = buildASTFromCode("void g(int&); void f() { int x; g(x); }"); 266 AST = buildASTFromCode("typedef int& IntRef;" 271 AST = buildASTFromCode("template <class T> using TRef = T&;" 276 AST = buildASTFromCode( 283 AST = buildASTFromCode("typedef int* IntPtr;" 288 AST = buildASTFromCode("typedef int* IntPtr; typedef IntPtr& IntPtrRef;" 293 AST = buildASTFromCode( 298 AST = buildASTFromCode("void f() { struct A { A(int&); }; int x; A y(x); }"); 302 AST = buildASTFromCode("void f() { struct A { A(); A(A&); }; A x; A y(x); }"); 306 AST = buildASTFromCode( 314 auto AST = buildASTFromCode("void g(const int&); void f() { int x; g(x); }"); 319 AST = buildASTFromCode("typedef const int& CIntRef;" 324 AST = buildASTFromCode("template <class T> using CTRef = const T&;" 330 buildASTFromCode("template <class T> struct identity { using type = T; };" 337 AST = buildASTFromCode( 342 AST = buildASTFromCode( 347 AST = buildASTFromCode( 354 auto AST = buildASTFromCode( 361 AST = buildASTFromCode("struct A {}; A operator+(A&&, int);" 367 AST = buildASTFromCode("void f() { struct A { A(int&&); }; " 373 AST = buildASTFromCode("void f() { struct A { A(); A(A&&); }; " 381 auto AST = buildASTFromCode( 387 AST = buildASTFromCode("struct A {}; A operator+(const A&&, int);" 392 AST = buildASTFromCode("void f() { struct A { A(const int&&); }; " 397 AST = buildASTFromCode("void f() { struct A { A(); A(const A&&); }; " 404 auto AST = buildASTFromCode(StdRemoveReference + StdMove + 410 AST = buildASTFromCode(StdRemoveReference + StdMove + 415 AST = buildASTFromCode(StdRemoveReference + StdMove + 421 buildASTFromCode(StdRemoveReference + StdMove + 427 AST = buildASTFromCode(StdRemoveReference + StdMove + 433 AST = buildASTFromCode(StdRemoveReference + StdMove + 440 AST = buildASTFromCode(StdRemoveReference + StdMove + 447 AST = buildASTFromCode(StdRemoveReference + StdMove + 453 AST = buildASTFromCode(StdRemoveReference + StdMove + 458 AST = buildASTFromCode( 467 buildASTFromCode(StdRemoveReference + StdForward + 473 AST = buildASTFromCode( 535 auto AST = buildASTFromCode("int f() { int x; return x; }"); 540 AST = buildASTFromCode("int* f() { int* x; return x; }"); 544 AST = buildASTFromCode("typedef int* IntPtr;" 551 const auto AST = buildASTFromCode("int& f() { int x; return x; }"); 558 const auto AST = buildASTFromCode("const int& f() { int x; return x; }"); 566 buildASTFromCode("int&& f() { int x; return static_cast<int &&>(x); }"); 574 const auto AST = buildASTFromCode( 582 const auto AST = buildASTFromCode("void g(int*); void f() { int x; g(&x); }"); 590 buildASTFromCode("void g(int*); void f() { int x[2]; g(x); }"); 613 auto AST = buildASTFromCode( 621 AST = buildASTFromCode("typedef int& IntRefX;" 631 auto AST = buildASTFromCode( 638 AST = buildASTFromCode("void f() { int x; int& r0 = x; const int& r1 = r0;}"); 642 AST = buildASTFromCode("typedef const int& CIntRefX;" 651 const auto AST = buildASTFromCode( 660 buildASTFromCode("void f() { int x, y; bool b; int& r = b ? x : y; }"); 667 auto AST = buildASTFromCode("template <class T> void g(T&& t) { t = 10; }" 673 AST = buildASTFromCode( 680 AST = buildASTFromCode( 689 AST = buildASTFromCode( 698 AST = buildASTFromCode("struct S { template <class T> S(T&& t) { t = 10; } };" 703 AST = buildASTFromCode( 709 AST = buildASTFromCode("template <class U> struct S {" 715 AST = buildASTFromCode(StdRemoveReference + StdForward + 727 auto AST = buildASTFromCode("template <class T> void g(T&&) {}" 733 AST = buildASTFromCode("template <class T> void g(T&& t) { t; }" 738 AST = buildASTFromCode("template <class... Args> void g(Args&&...) {}" 743 AST = buildASTFromCode("template <class... Args> void g(Args&&...) {}" 748 AST = buildASTFromCode( 755 AST = buildASTFromCode("struct S { template <class T> S(T&& t) { t; } };" 760 AST = buildASTFromCode( 766 AST = buildASTFromCode("template <class U> struct S {" 772 AST = buildASTFromCode(StdRemoveReference + StdForward + 784 const auto AST = buildASTFromCode("void f() { int x[2]; x[0] = 10; }"); 791 const auto AST = buildASTFromCode("void f() { int x[2]; x[0]; }"); 799 buildASTFromCode("void f() { struct A { int vi; }; struct B { A va; }; " 821 buildASTFromCode("void f() { struct A { int vi; }; struct B { A va; }; " 842 buildASTFromCode("void f() { int x; static_cast<double>(x); }"); 850 buildASTFromCode("void f() { int x; static_cast<int &>(x) = 10; }"); 856 AST = buildASTFromCode("typedef int& IntRef;" 865 buildASTFromCode("void f() { int x; static_cast<int&>(x); }"); 873 buildASTFromCode("void f() { int x; static_cast<const int&>(x); }"); 878 AST = buildASTFromCode("typedef const int& CIntRef;" 1016 const auto AST = buildASTFromCode("void f() { int x; [=]() { x; }; }"); 1023 const auto AST = buildASTFromCode("void f() { int x; [x]() { x; }; }"); 1030 const auto AST = buildASTFromCode("void f() { int x; [&]() { x = 10; }; }"); 1038 const auto AST = buildASTFromCode("void f() { int x; [&x]() { x = 10; }; }"); 1047 buildASTFromCode("void f() { int x[2]; for (int& e : x) e = 10; }"); 1052 AST = buildASTFromCode("typedef int& IntRef;" 1060 buildASTFromCode("void f() { int x[2]; for (int& e : x) e; }"); 1067 auto AST = buildASTFromCode("void f() { int x[2]; for (int e : x) e = 10; }"); 1073 buildASTFromCode("void f() { int* x[2]; for (int* e : x) e = nullptr; }"); 1077 AST = buildASTFromCode( 1086 buildASTFromCode("void f() { int x[2]; for (const int& e : x) e; }"); 1091 AST = buildASTFromCode("typedef const int& CIntRef;" 1099 buildASTFromCode("struct V { int* begin(); int* end(); };" 1107 const auto AST = buildASTFromCode("struct V { int* begin(); int* end(); };" 1115 const auto AST = buildASTFromCode( 1124 const auto AST = buildASTFromCode( 1133 auto AST = buildASTFromCode("void f() { int x, y; decltype(x = 10) z = y; }"); 1138 AST = buildASTFromCode("void f() { int x, y; __typeof(x = 10) z = y; }"); 1142 AST = buildASTFromCode("void f() { int x, y; __typeof__(x = 10) z = y; }"); 1146 AST = buildASTFromCode("void f() { int x; sizeof(x = 10); }"); 1150 AST = buildASTFromCode("void f() { int x; alignof(x = 10); }"); 1154 AST = buildASTFromCode("void f() { int x; noexcept(x = 10); }"); 1164 AST = buildASTFromCode( 1171 auto AST = buildASTFromCode("void f() { int x; sizeof(int[x++]); }"); 1197 auto AST = buildASTFromCode(UniquePtrDef + 1203 AST = buildASTFromCode(UniquePtrDef + "void f() { UniquePtr<int> x; *x; }"); 1207 AST = buildASTFromCode(UniquePtrDef + 1212 AST = buildASTFromCode(UniquePtrDef + "struct S { int v; };" 1217 AST = buildASTFromCode(UniquePtrDef + 1224 buildASTFromCode(UniquePtrDef + "struct S { void mf(); };" 1229 AST = buildASTFromCode(UniquePtrDef +