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

References

tools/clang/unittests/AST/ASTImporterGenericRedeclTest.cpp
  163     Decl *ImportedD = Import(FromD, Lang_CXX);
  180     Decl *ImportedD = Import(FromD, Lang_CXX);
  198     Decl *Imported0 = Import(From0, Lang_CXX);
  199     Decl *Imported1 = Import(From1, Lang_CXX);
  220     Decl *ImportedProto = Import(FromProto, Lang_CXX);
  221     Decl *ImportedDef = Import(FromDef, Lang_CXX);
  242     Decl *ImportedDef = Import(FromDef, Lang_CXX);
  243     Decl *ImportedProto = Import(FromProto, Lang_CXX);
  265     Decl *Imported0 = Import(From0, Lang_CXX);
  266     Decl *Imported1 = Import(From1, Lang_CXX);
  288     Decl *Imported0 = Import(From0, Lang_CXX);
  289     Decl *Imported1 = Import(From1, Lang_CXX);
  311     Decl *ImportedDef = Import(FromDef, Lang_CXX);
  312     Decl *ImportedProto = Import(FromProto, Lang_CXX);
  336     Decl *ImportedProto = Import(FromProto, Lang_CXX);
  337     Decl *ImportedDef = Import(FromDef, Lang_CXX);
  358     Decl *ImportedD = Import(FromD, Lang_CXX);
  370       Import(FromD, Lang_CXX);
  376       Import(FromD, Lang_CXX);
tools/clang/unittests/AST/ASTImporterTest.cpp
  978   auto *To = Import(From, Lang_C);
  990   auto *To = Import(From, Lang_C);
 1007   auto *To = Import(From, Lang_C);
 1161   FunctionDecl *To = Import(From, Lang_CXX);
 1176   auto To = cast<ClassTemplateDecl>(Import(From, Lang_CXX));
 1179   Decl *ToTemplated1 = Import(From->getTemplatedDecl(), Lang_CXX);
 1190   auto To = cast<FunctionTemplateDecl>(Import(From, Lang_CXX));
 1193   Decl *ToTemplated1 = Import(From->getTemplatedDecl(), Lang_CXX);
 1206       cast<CXXRecordDecl>(Import(FromFT->getTemplatedDecl(), Lang_CXX));
 1222       cast<FunctionDecl>(Import(FromFT->getTemplatedDecl(), Lang_CXX));
 1242   auto ToNs = cast<NamespaceDecl>(Import(FromNs, Lang_CXX));
 1256       cast<CXXRecordDecl>(Import(From->getTemplatedDecl(), Lang_CXX));
 1635     Import(FromD, Lang_CXX);
 1649     Import(FromD, Lang_CXX);
 1652     auto *ToCTD = cast<ClassTemplateDecl>(Import(FromCTD, Lang_CXX));
 1687   Import(FromD, Lang_CXX);
 1721   Import(FromD, Lang_CXX);
 1752   auto ToD = Import(FromD, Lang_CXX);
 1779   auto ToD = Import(FromD, Lang_CXX);
 1821   Import(FromD, Lang_CXX);
 1846   auto *To0 = Import(From0, Lang_CXX);
 1847   auto *To1 = Import(From1, Lang_CXX);
 1871   Import(X0, Lang_C);
 1872   Import(X1, Lang_C);
 1904   Import(X0, Lang_C);
 1905   Import(X1, Lang_C);
 1920     Imported1 = cast<VarDecl>(Import(FromD, Lang_CXX));
 1926     Imported2 = cast<VarDecl>(Import(FromD, Lang_CXX));
 1935     Import(FromD, Lang_CXX);
 1953     Import(FromD, Lang_CXX);
 1984     Import(FromFunD, Lang_CXX);
 1995   auto *Imported1 = cast<VarDecl>(Import(FromD, Lang_CXX));
 2000   auto *Imported2 = cast<VarDecl>(Import(FromD, Lang_CXX));
 2014   Decl *ImportedD = Import(From, Lang_CXX);
 2032   Decl *ImportedD = Import(From, Lang_CXX);
 2058   CXXMethodDecl *To = cast<CXXMethodDecl>(Import(Proto, Lang_CXX));
 2077   CXXMethodDecl *To = cast<CXXMethodDecl>(Import(Proto, Lang_CXX));
 2097   Import(FromD, Lang_CXX);
 2118   Import(DF, Lang_CXX);
 2122   Import(BF, Lang_CXX);
 2154     Import(FromD, Lang_CXX);
 2159     Import(FromB, Lang_CXX);
 2188   Import(D, Lang_CXX);
 2192   Import(B, Lang_CXX);
 2245     Import(D, Lang_CXX);
 2251     Import(Foo, Lang_CXX);
 2299     auto *To0 = Import(From0, Lang_C);
 2300     auto *To1 = Import(From1, Lang_C);
 2318   auto *ToF0 = Import(FromF0, Lang_CXX);
 2319   auto *ToF1 = Import(FromF1, Lang_CXX);
 2334     Import(FromD, Lang_CXX);
 2342     Import(FromD, Lang_CXX);
 2360   auto *ToD = Import(FromD, Lang_CXX);
 2386   auto *ToD = Import(FromD, Lang_CXX);
 2412   auto *ToD = Import(FromD, Lang_CXX);
 2433   auto *ToD1 = Import(FromD1, Lang_CXX);
 2437   auto *ToD2 = Import(FromD2, Lang_CXX);
 2455   auto *ToD1 = Import(FromD1, Lang_CXX);
 2459   auto *ToD2 = Import(FromD2, Lang_CXX);
 2475   auto *ImportedD = Import(FromD, Lang_CXX);
 2493   auto *ImportedD = Import(FromD, Lang_CXX);
 2515   auto *ImportedD = Import(FromD, Lang_CXX);
 2530   auto *ImportedD = cast<FunctionDecl>(Import(FromD, Lang_CXX));
 2548   auto *ImportedD = cast<FunctionDecl>(Import(FromD, Lang_CXX));
 2566   auto *ImportedD = cast<FunctionDecl>(Import(FromD, Lang_CXX));
 2584   auto *ImportedD = cast<FunctionDecl>(Import(FromD, Lang_CXX));
 2607   auto *ImportedD = cast<FunctionDecl>(Import(FromD, Lang_CXX));
 2636   auto *ImportedD = cast<FunctionDecl>(Import(FromD, Lang_CXX));
 2658     ImportedD = cast<FunctionDecl>(Import(FromD, Lang_CXX));
 2664     ImportedD1 = cast<FunctionDecl>(Import(FromD, Lang_CXX));
 2692   auto *ToD = cast<FunctionDecl>(Import(FromD, Lang_CXX));
 2738   auto *ToFriend = cast<FunctionDecl>(Import(FromFriend, Lang_CXX));
 2783   auto *ToNormal = cast<FunctionDecl>(Import(FromNormal, Lang_CXX));
 2825   auto *ToNormalF = cast<FunctionDecl>(Import(FromNormalF, Lang_CXX));
 2834   auto *ToFriendF = cast<FunctionDecl>(Import(FromFriendF, Lang_CXX));
 2865   Import(FromFriendF, Lang_CXX);
 3039       ImportedClass = Import(FromClass, Lang_CXX11);
 3108     ToR1 = Import(FromR, Lang_CXX);
 3118     ToR2 = Import(FromR, Lang_CXX);
 3131     ToR1 = Import(FromR, Lang_CXX);
 3139     ToR2 = Import(FromR, Lang_CXX);
 3151     ToF1 = Import(FromF, Lang_CXX);
 3159     ToF2 = Import(FromF, Lang_CXX);
 3171     ToF1 = Import(FromF, Lang_CXX);
 3179     ToF2 = Import(FromF, Lang_CXX);
 3191     ToM1 = Import(FromM, Lang_CXX);
 3199     ToM2 = Import(FromM, Lang_CXX);
 3212     ToM1 = Import(FromM, Lang_CXX);
 3221     ToM2 = Import(FromM, Lang_CXX);
 3243   Import(From, Lang_C);
 3269   auto *ToF = cast_or_null<FunctionDecl>(Import(FromF, Lang_CXX11));
 3276   auto *ToLambda = cast_or_null<CXXRecordDecl>(Import(FromLambda, Lang_CXX11));
 3283     auto *ToField = cast_or_null<FieldDecl>(Import(FromField, Lang_CXX11));
 3332   auto *ImportedSpec = Import(FromSpec, Lang_CXX11);
 3374   auto *ImportedSpec = Import(FromSpec, Lang_CXX11);
 3413   auto *ImportedSpec = Import(FromSpec, Lang_CXX11);
 3461   auto *ImportedSpec = Import(FromSpec, Lang_CXX11);
 3490   auto *ImportedSpec = Import(FromSpec, Lang_CXX11);
 3515   auto *ImportedSpec = Import(FromSpec, Lang_CXX11);
 3543   auto *ImportedSpec = Import(FromSpec, Lang_CXX11);
 3567   auto *ToD = Import(FromD, Lang_CXX11);
 3592   auto *ToD0 = cast<VarDecl>(Import(FromDWithInit, Lang_CXX11));
 3593   auto *ToD1 = cast<VarDecl>(Import(FromDWithDef, Lang_CXX11));
 3626   auto *ImportedD = cast<VarDecl>(Import(FromDWithDef, Lang_CXX11));
 3657   auto *ImportedD = cast<VarDecl>(Import(FromDWithDef, Lang_CXX11));
 3671   Decl *ImportedDef = Import(FromDef, Lang_C);
 3689   Decl *ImportedDef = Import(FromDef, Lang_CXX);
 3707   Decl *ImportedProto = Import(FromProto, Lang_C);
 3708   Decl *ImportedDef = Import(FromDef, Lang_C);
 3750   auto *ToClass = cast<CXXRecordDecl>(Import(FromClass, Lang_CXX));
 3751   auto *ToFriendClass = cast<CXXRecordDecl>(Import(FromFriendClass, Lang_CXX));
 3773   auto *ToD = Import(FromD, Lang_CXX);
 3790   auto *ToD = Import(FromD, Lang_CXX);
 3815     Imported1 = cast<ClassTemplateSpecializationDecl>(Import(FromD, Lang_CXX));
 3826     Imported2 = cast<ClassTemplateSpecializationDecl>(Import(FromD, Lang_CXX));
 3850   auto *Imported0 = cast<ClassTemplateDecl>(Import(Fwd, Lang_CXX));
 3859   auto *Imported1 = cast<ClassTemplateDecl>(Import(Definition, Lang_CXX));
 3897   auto *ImportedDef = cast<ClassTemplateDecl>(Import(Definition, Lang_CXX));
 3919   auto *ImportedFwd = cast<ClassTemplateDecl>(Import(Fwd, Lang_CXX));
 3928   auto *ImportedDef = cast<ClassTemplateDecl>(Import(Definition, Lang_CXX));
 3950   auto *ImportedFwd = Import(Fwd, Lang_CXX);
 3958   auto *ImportedDef = Import(Definition, Lang_CXX);
 3977   auto *ImportedFoo = Import(FromFoo, Lang_CXX);
 4065   ASSERT_TRUE(Import(Foo, Lang_CXX));
 4175   Import(FromD, Lang_CXX11);
 4194     Import(FromD, Lang_CXX);
 4209     Import(FromD, Lang_CXX);
 4212     auto *ToCTD = cast<ClassTemplateDecl>(Import(FromCTD, Lang_CXX));
 4250   auto *ImportedD = cast<TypedefNameDecl>(Import(FromD, Lang_CXX11));
 4267   auto *ToD = Import(FromD, Lang_CXX);
 4816   auto *ToDef = cast_or_null<CXXRecordDecl>(Import(FromDef, Lang_CXX));
 4817   auto *ToFwd = cast_or_null<CXXRecordDecl>(Import(FromFwd, Lang_CXX));
 4847   auto *Imported = Import(FromFoo, Lang_CXX);
 4894   ClassTemplateSpecializationDecl *ImportedSpec = Import(FromSpec, Lang_CXX);
 4919   FunctionDecl *ImportedFoo = Import(FromFoo, Lang_CXX);
 4948   FunctionDecl *ImportedProto = Import(FromProto, Lang_CXX);
 4984   CXXRecordDecl *ImportedX = Import(FromX, Lang_CXX);
 5000   CXXMethodDecl *ImportedF = Import(FromF, Lang_CXX);
 5009   CXXMethodDecl *ImportedOK = Import(FromOK, Lang_CXX);
 5046   EXPECT_FALSE(Import(FromFRD, Lang_CXX));
 5048   EXPECT_FALSE(Import(FromA, Lang_CXX));
 5050   EXPECT_TRUE(Import(FromB, Lang_CXX));
 5052   EXPECT_TRUE(Import(FromNS, Lang_CXX));
 5110   NamespaceDecl *ImportedX = Import(FromX, Lang_CXX);
 5125   FunctionDecl *ImportedF = Import(FromF, Lang_CXX);
 5134   FunctionDecl *ImportedOK = Import(FromOK, Lang_CXX);
 5156     CXXRecordDecl *ImportedX = Import(FromX, Lang_CXX);
 5192     CXXRecordDecl *ImportedX = Import(FromX, Lang_CXX);
 5241   EXPECT_FALSE(Import(FromFooA, Lang_CXX11));
 5249   EXPECT_FALSE(Import(FromFooB, Lang_CXX11));
 5251   EXPECT_FALSE(Import(FromFooC, Lang_CXX11));
 5267   auto ToL = Import(FromL, Lang_CXX11);
 5286   auto ToL = Import(FromL, Lang_CXX11);
 5306   FunctionDecl *ToF = Import(FromF, Lang_CXX11);
 5347   auto *ImportedDef = Import(FromClassDef, Lang_CXX);
 5393   auto *ImportedX = Import(FromX, Lang_CXX);
 5450   auto *ToD1 = Import(GetDeclToImport("input1.cc"), Lang_CXX11);
 5453   auto *ToD2 = Import(GetDeclToImport("input2.cc"), Lang_CXX11);
 5468   auto *ImportedX = Import(FromX, Lang_CXX11);
 5507   CXXRecordDecl *ToL0 = Import(FromL0, Lang_CXX11);
 5508   CXXRecordDecl *ToL1 = Import(FromL1, Lang_CXX11);
 5527   CXXRecordDecl *ToL0 = Import(FromL0, Lang_CXX11);
 5528   CXXRecordDecl *ToL1 = Import(FromL1, Lang_CXX11);
 5548   Import(FromL0, Lang_CXX11);
 5549   Import(FromL1, Lang_CXX11);
 5550   CXXRecordDecl *ToL0 = Import(FromL0, Lang_CXX11);
 5551   CXXRecordDecl *ToL1 = Import(FromL1, Lang_CXX11);
 5570   FunctionDecl *ToF = Import(FromF, Lang_CXX2a);
 5594   FunctionDecl *ToF = Import(FromF, Lang_CXX2a);
tools/clang/unittests/AST/ASTImporterVisibilityTest.cpp
  107     auto *ToD0 = Import(FromD0, Lang_CXX14);
  108     auto *ToD1 = Import(FromD1, Lang_CXX14);
  198     auto *ToD1 = Import(FromD1, Lang_CXX14);
  217     auto *ToD0 = Import(FromD0, Lang_CXX14);
  218     auto *ToD1 = Import(FromD1, Lang_CXX14);
  236     auto *ToF1 = Import(FromF1, Lang_CXX14);
  257     auto *ToF0 = Import(FromF0, Lang_CXX14);
  258     auto *ToF1 = Import(FromF1, Lang_CXX14);