reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/clang/unittests/AST/ASTImporterFixtures.h
  163   TranslationUnitDecl *getTuDecl(StringRef SrcCode, Language Lang,

References

tools/clang/unittests/AST/ASTImporterGenericRedeclTest.cpp
  159     Decl *FromTU = getTuDecl(getPrototype(), Lang_CXX);
  176     Decl *FromTU = getTuDecl(getDefinition(), Lang_CXX);
  192     Decl *FromTU = getTuDecl(getPrototype() + getPrototype(), Lang_CXX);
  214     Decl *FromTU = getTuDecl(getPrototype() + getDefinition(), Lang_CXX);
  236     Decl *FromTU = getTuDecl(getDefinition() + getPrototype(), Lang_CXX);
  258     Decl *FromTU0 = getTuDecl(getPrototype(), Lang_CXX, "input0.cc");
  259     Decl *FromTU1 = getTuDecl(getPrototype(), Lang_CXX, "input1.cc");
  281     Decl *FromTU0 = getTuDecl(getDefinition(), Lang_CXX, "input0.cc");
  282     Decl *FromTU1 = getTuDecl(getDefinition(), Lang_CXX, "input1.cc");
  303     Decl *FromTUDef = getTuDecl(getDefinition(), Lang_CXX, "input0.cc");
  304     Decl *FromTUProto = getTuDecl(getPrototype(), Lang_CXX, "input1.cc");
  328     Decl *FromTUProto = getTuDecl(getPrototype(), Lang_CXX, "input0.cc");
  329     Decl *FromTUDef = getTuDecl(getDefinition(), Lang_CXX, "input1.cc");
  353     Decl *FromTU = getTuDecl(getPrototype() + getDefinition(), Lang_CXX);
  368       Decl *FromTU = getTuDecl(getPrototype(), Lang_CXX, "input0.cc");
  374           getTuDecl(getPrototype() + getDefinition(), Lang_CXX, "input1.cc");
tools/clang/unittests/AST/ASTImporterODRStrategiesTest.cpp
  255     Decl *FromTU = getTuDecl(FromTUContent(), getLang());
tools/clang/unittests/AST/ASTImporterTest.cpp
  255   Decl *FromTU = getTuDecl("void f();", Lang_CXX);
  265   Decl *FromTU = getTuDecl("void f(); void f(); void f();", Lang_CXX);
  279   Decl *FromTU = getTuDecl("void f(); void f(); void f();", Lang_CXX);
  366     FromTU = getTuDecl("void f(); void f(); void f();", Lang_CXX);
  956   Decl *FromTU = getTuDecl("int declToImport() { "
  972   Decl *FromTU = getTuDecl(
  983   Decl *FromTU = getTuDecl(
 1000   Decl *FromTU = getTuDecl(
 1151   Decl *FromTU = getTuDecl(
 1172   Decl *FromTU = getTuDecl("template<class X> struct S{};", Lang_CXX);
 1186   Decl *FromTU = getTuDecl("template<class X> void f(){}", Lang_CXX);
 1200   Decl *FromTU = getTuDecl("template<class X> struct S{};", Lang_CXX);
 1216   Decl *FromTU = getTuDecl("template<class X> void f(){}", Lang_CXX);
 1239   Decl *FromTU = getTuDecl(Code, Lang_CXX);
 1592   Decl *FromTU = getTuDecl(
 1626     Decl *FromTU = getTuDecl(
 1639     Decl *FromTU = getTuDecl(
 1676   Decl *FromTU = getTuDecl(
 1711   Decl *FromTU = getTuDecl(
 1741   Decl *FromTU = getTuDecl(
 1771   Decl *FromTU = getTuDecl(
 1809   Decl *FromTU = getTuDecl(
 1832   Decl *FromTU = getTuDecl(
 1863   Decl *FromTU0 = getTuDecl(Code, Lang_C, "input0.c");
 1865   Decl *FromTU1 = getTuDecl(Code, Lang_C, "input1.c");
 1882   Decl *FromTU0 = getTuDecl(
 1891   Decl *FromTU1 = getTuDecl(
 1918     Decl *FromTU = getTuDecl("extern int x;", Lang_CXX, "input0.cc");
 1924     Decl *FromTU = getTuDecl("int x;", Lang_CXX, "input1.cc");
 1932         getTuDecl("extern int x; int f() { return x; }", Lang_CXX, "input2.cc");
 1949     Decl *FromTU = getTuDecl(
 1972     Decl *FromTU = getTuDecl(
 1992   Decl *FromTU = getTuDecl("int x;", Lang_CXX, "input0.cc");
 2009   Decl *FromTU = getTuDecl("void f(); void f() { f(); }", Lang_CXX);
 2027   Decl *FromTU = getTuDecl("void f(); void f() { f(); }", Lang_CXX);
 2053   Decl *FromTU = getTuDecl(Code, Lang_CXX);
 2070   Decl *FromTU = getTuDecl(Code, Lang_CXX);
 2094   Decl *FromTU = getTuDecl("void f() {}", Lang_CXX, "input0.cc");
 2116   Decl *FromTU0 = getTuDecl(Code, Lang_CXX);
 2120   Decl *FromTU1 = getTuDecl(Code, Lang_CXX, "input1.cc");
 2152     Decl *FromTU = getTuDecl(CodeWithDef, Lang_CXX, "input0.cc");
 2157     Decl *FromTU = getTuDecl(CodeWithoutDef, Lang_CXX, "input1.cc");
 2186   Decl *FromTU0 = getTuDecl(Code, Lang_CXX);
 2190   Decl *FromTU1 = getTuDecl(Code, Lang_CXX, "input1.cc");
 2243     Decl *FromTU0 = getTuDecl(CodeTU0, Lang_CXX, "input0.cc");
 2249     Decl *FromTU1 = getTuDecl(CodeTU1, Lang_CXX, "input1.cc");
 2294     TranslationUnitDecl *FromTu = getTuDecl(Code, Lang_C, "input0.c");
 2309   TranslationUnitDecl *FromTu = getTuDecl(
 2329     Decl *FromTU = getTuDecl("namespace { void f() {} } void g0() { f(); }",
 2338         getTuDecl("namespace { void f() { int a; } } void g1() { f(); }",
 2351   Decl *FromTU = getTuDecl(
 2372   Decl *FromTU = getTuDecl(
 2394   Decl *FromTU = getTuDecl(
 2430   Decl *FromTU1 = getTuDecl(Code, Lang_CXX, "input1.cc");
 2434   Decl *FromTU2 = getTuDecl(Code, Lang_CXX, "input2.cc");
 2452   Decl *FromTU1 = getTuDecl(Code, Lang_CXX, "input1.cc");
 2456   Decl *FromTU2 = getTuDecl(Code, Lang_CXX, "input2.cc");
 2472   Decl *FromTU = getTuDecl("void foo();", Lang_CXX);
 2490   Decl *FromTU = getTuDecl(Code, Lang_CXX);
 2507   Decl *FromTU = getTuDecl(
 2524   Decl *FromTU = getTuDecl("struct X { friend void f(); };"
 2543   Decl *FromTU = getTuDecl("void f();"
 2560   Decl *FromTU = getTuDecl("struct X { friend void f(){} };"
 2579   Decl *FromTU = getTuDecl("struct X { friend void f(); };"
 2596   Decl *FromTU = getTuDecl(
 2625   Decl *FromTU = getTuDecl(
 2656         getTuDecl("struct X { friend void f(){} };", Lang_CXX, "input0.cc");
 2662     Decl *FromTU = getTuDecl("void f();", Lang_CXX, "input1.cc");
 2679       getTuDecl("struct X { friend void f(); };", Lang_CXX, "input0.cc");
 2712   TranslationUnitDecl *FromTU = getTuDecl(
 2762   TranslationUnitDecl *FromTU = getTuDecl(
 2806       getTuDecl("void f();", Lang_CXX, "input0.cc");
 2810       getTuDecl("class X { friend void f(); };", Lang_CXX, "input1.cc");
 2847   TranslationUnitDecl *FromTU = getTuDecl(
 3036       Decl *FromTU = getTuDecl(Code, Lang_CXX11, "input1.cc");
 3103     Decl *FromTU = getTuDecl(
 3113     Decl *FromTU = getTuDecl(
 3127     Decl *FromTU = getTuDecl(
 3135     Decl *FromTU = getTuDecl(
 3147     Decl *FromTU = getTuDecl(
 3155     Decl *FromTU = getTuDecl(
 3167     Decl *FromTU = getTuDecl(
 3175     Decl *FromTU = getTuDecl(
 3187     Decl *FromTU = getTuDecl(
 3195     Decl *FromTU = getTuDecl(
 3207     Decl *FromTU = getTuDecl(
 3216     Decl *FromTU = getTuDecl(
 3228   Decl *FromTU = getTuDecl(
 3260   Decl *FromTU = getTuDecl(
 3318   Decl *FromTU = getTuDecl(ClassTemplate +
 3357   Decl *FromTU = getTuDecl(ClassTemplate +
 3400   Decl *FromTU = getTuDecl(ClassTemplate +
 3443   Decl *FromTU = getTuDecl(ClassTemplate +
 3482   Decl *FromTU = getTuDecl(Code, Lang_CXX11);
 3509   Decl *FromTU = getTuDecl(Code, Lang_CXX11);
 3539   Decl *FromTU = getTuDecl(PrimaryTemplate + PartialSpec, Lang_CXX11);
 3556   Decl *TU = getTuDecl(
 3577   Decl *FromTU = getTuDecl(
 3608   Decl *FromTU = getTuDecl(std::string(StructA) + "const int A::a;", Lang_CXX,
 3639   Decl *FromTU = getTuDecl(std::string(StructA) + "const int A::a = 1 + 2;",
 3666   Decl *FromTU1 = getTuDecl("struct X {};", Lang_C, "input1.cc");
 3684   Decl *FromTU1 = getTuDecl("struct X {};", Lang_CXX, "input1.cc");
 3701   Decl *FromTU0 = getTuDecl("struct A { struct X *Xp; };", Lang_C, "input0.cc");
 3702   Decl *FromTU1 = getTuDecl("struct X {};", Lang_C, "input1.cc");
 3726   Decl *FromTU = getTuDecl(
 3763   Decl *FromTu = getTuDecl(
 3780   Decl *FromTu = getTuDecl(
 3809     Decl *FromTU = getTuDecl("template<class T> class X;"
 3819     Decl *FromTU = getTuDecl("template<class T> class X;"
 3837   Decl *FromTU0 = getTuDecl(
 3851   Decl *FromTU1 = getTuDecl(
 3889   Decl *FromTU = getTuDecl(
 3906   Decl *FromTU0 = getTuDecl(
 3920   Decl *FromTU1 = getTuDecl(
 3936   Decl *FromTU0 = getTuDecl(
 3951   Decl *FromTU1 = getTuDecl(
 3974   TranslationUnitDecl *FromTU = getTuDecl(Code, Lang_CXX, "input.cc");
 3984   Decl *TU = getTuDecl(
 4012   Decl *TU = getTuDecl("extern int A; int A;", Lang_CXX);
 4050   Decl *FromTU = getTuDecl(
 4074   Decl *FromTU = getTuDecl(
 4097   Decl *FromTU = getTuDecl(
 4121   Decl *FromTU = getTuDecl(
 4162   Decl *FromTU = getTuDecl(
 4185     Decl *FromTU = getTuDecl(
 4198     Decl *FromTU = getTuDecl(
 4239   Decl *FromTU = getTuDecl(std::string(Code) +
 4262   Decl *FromTU = getTuDecl(Code, Lang_CXX);
 4456   Decl *FromTU = getTuDecl(
 4790   Decl *FromTU = getTuDecl(
 4840   Decl *FromTU = getTuDecl(
 4884   TranslationUnitDecl *FromTU = getTuDecl(
 4913   TranslationUnitDecl *FromTU = getTuDecl(
 4938   TranslationUnitDecl *FromTU = getTuDecl(
 4973   TranslationUnitDecl *FromTU = getTuDecl(
 5019   Decl *FromTU = getTuDecl(
 5099   TranslationUnitDecl *FromTU = getTuDecl(
 5147     TranslationUnitDecl *FromTU = getTuDecl(std::string(R"(
 5182     TranslationUnitDecl *FromTU = getTuDecl(std::string(R"(
 5220   TranslationUnitDecl *FromTU = getTuDecl(std::string(R"(
 5256   Decl *FromTU = getTuDecl(
 5276   Decl *FromTU = getTuDecl(
 5295   Decl *FromTU = getTuDecl(
 5324   TranslationUnitDecl *FromTU = getTuDecl(Code, Lang_CXX, "input.cc");
 5386   Decl *FromTU = getTuDecl(
 5418   TranslationUnitDecl *FromTU = getTuDecl("", Lang_CXX, "input.cc");
 5437     Decl *FromTU = getTuDecl(
 5461   Decl *FromTU = getTuDecl(
 5492   Decl *FromTU = getTuDecl(
 5514   Decl *FromTU = getTuDecl(
 5534   Decl *FromTU = getTuDecl(
 5556   Decl *FromTU = getTuDecl(
 5579   Decl *FromTU = getTuDecl(
tools/clang/unittests/AST/ASTImporterVisibilityTest.cpp
  102     TranslationUnitDecl *FromTu = getTuDecl(Code, Lang_CXX14, "input0.cc");
  193         getTuDecl(getCode1(), Lang_CXX14, "input1.cc");
  212         getTuDecl(getCode0(), Lang_CXX14, "input0.cc");
  214         getTuDecl(getCode1(), Lang_CXX14, "input1.cc");
  231         getTuDecl(getCode1(), Lang_CXX14, "input1.cc");
  252         getTuDecl(getCode0(), Lang_CXX14, "input0.cc");
  254         getTuDecl(getCode1(), Lang_CXX14, "input1.cc");