Searched refs:ToD (Results 1 – 7 of 7) sorted by relevance
68 llvm::Optional<ASTImportError> getImportDeclErrorIfAny(Decl *ToD) const { in getImportDeclErrorIfAny() argument69 auto Pos = ImportErrors.find(ToD); in getImportDeclErrorIfAny()80 bool isNewDecl(const Decl *ToD) const { return NewDecls.count(ToD); } in isNewDecl() argument82 void markAsNewDecl(Decl *ToD) { NewDecls.insert(ToD); } in markAsNewDecl() argument
260 void AddToLookupTable(Decl *ToD);364 TranslationUnitDecl *GetFromTU(Decl *ToD);370 llvm::Optional<DeclT *> getImportedFromDecl(const DeclT *ToD) const { in getImportedFromDecl() argument371 auto FromI = ImportedFromDecls.find(ToD); in getImportedFromDecl()549 void RegisterImportedDecl(Decl *FromD, Decl *ToD);
1738 if (ToD) in ImportDeclParts()1757 if (ToD) in ImportDeclParts()2371 if (ToD) in VisitNamespaceDecl()2492 if (ToD) in VisitTypedefNameDecl()2656 if (ToD) in VisitLabelDecl()2695 if (ToD) in VisitEnumDecl()2809 if (ToD) in VisitRecordDecl()3040 if (ToD) in VisitEnumConstantDecl()3332 if (ToD) in VisitFunctionDecl()3711 if (ToD) in VisitFieldDecl()[all …]
261 auto *ToD = FirstDeclMatcher<DeclTy>().match(ToTU, getPattern()); in TypedTest_ImportAfter() local268 ResultChecker(Result, ToTU, ToD); in TypedTest_ImportAfter()274 Decl *ToD) { in CheckImportedAsNew()278 EXPECT_NE(ImportedD, ToD); in CheckImportedAsNew()292 Decl *ToTU, Decl *ToD) { in CheckImportNameConflict()299 Decl *ToTU, Decl *ToD) { in CheckImportFoundExisting()
2381 EXPECT_TRUE(ToD); in TEST_P()2407 EXPECT_TRUE(ToD); in TEST_P()2433 EXPECT_TRUE(ToD); in TEST_P()3681 EXPECT_TRUE(ToD); in TEST_P()6767 ASSERT_TRUE(ToD); in TEST_P()6799 ASSERT_TRUE(ToD); in TEST_P()7082 ASSERT_TRUE(ToD); in TEST_P()7105 ASSERT_TRUE(ToD); in TEST_P()7123 ASSERT_TRUE(ToD); in TEST_P()7223 ASSERT_TRUE(ToD); in TEST_P()[all …]
191 auto *ToD = LastDeclMatcher<DeclTy>().match(ToTU, getPattern()); in TypedTest_PrototypeShouldBeImportedAsAPrototypeWhenThereIsNoDefinition() local192 EXPECT_TRUE(ImportedD == ToD); in TypedTest_PrototypeShouldBeImportedAsAPrototypeWhenThereIsNoDefinition()193 EXPECT_FALSE(ToD->isThisDeclarationADefinition()); in TypedTest_PrototypeShouldBeImportedAsAPrototypeWhenThereIsNoDefinition()194 if (auto *ToT = dyn_cast<TemplateDecl>(ToD)) { in TypedTest_PrototypeShouldBeImportedAsAPrototypeWhenThereIsNoDefinition()208 auto *ToD = LastDeclMatcher<DeclTy>().match(ToTU, getPattern()); in TypedTest_DefinitionShouldBeImportedAsADefinition() local209 EXPECT_TRUE(ToD->isThisDeclarationADefinition()); in TypedTest_DefinitionShouldBeImportedAsADefinition()210 if (auto *ToT = dyn_cast<TemplateDecl>(ToD)) { in TypedTest_DefinitionShouldBeImportedAsADefinition()
3427 Decl *ToD) { in inheritDefaultTemplateArgument() argument3428 auto *To = cast<ParmDecl>(ToD); in inheritDefaultTemplateArgument()