Lines Matching refs:ImportedD

2034   Decl *ImportedD = Import(From, Lang_CXX03);  in TEST_P()  local
2035 Decl *ToTU = ImportedD->getTranslationUnitDecl(); in TEST_P()
2040 EXPECT_TRUE(ImportedD == To0); in TEST_P()
2052 Decl *ImportedD = Import(From, Lang_CXX03); in TEST_P() local
2053 Decl *ToTU = ImportedD->getTranslationUnitDecl(); in TEST_P()
2058 EXPECT_TRUE(ImportedD == To1); in TEST_P()
2495 auto *ImportedD = Import(FromD, Lang_CXX03); in TEST_P() local
2496 EXPECT_TRUE(ImportedD); in TEST_P()
2513 auto *ImportedD = Import(FromD, Lang_CXX03); in TEST_P() local
2514 EXPECT_TRUE(ImportedD); in TEST_P()
2535 auto *ImportedD = Import(FromD, Lang_CXX03); in TEST_P() local
2536 EXPECT_TRUE(ImportedD); in TEST_P()
2549 auto *ImportedD = cast<FunctionDecl>(Import(FromD, Lang_CXX03)); in TEST_P() local
2552 EXPECT_FALSE(ImportedD->doesThisDeclarationHaveABody()); in TEST_P()
2555 EXPECT_EQ(ToFD->getPreviousDecl(), ImportedD); in TEST_P()
2567 auto *ImportedD = cast<FunctionDecl>(Import(FromD, Lang_CXX03)); in TEST_P() local
2570 EXPECT_FALSE(ImportedD->doesThisDeclarationHaveABody()); in TEST_P()
2573 EXPECT_EQ(ToFD->getPreviousDecl(), ImportedD); in TEST_P()
2584 auto *ImportedD = cast<FunctionDecl>(Import(FromD, Lang_CXX03)); in TEST_P() local
2587 EXPECT_TRUE(ImportedD->doesThisDeclarationHaveABody()); in TEST_P()
2590 EXPECT_EQ(ToFD->getPreviousDecl(), ImportedD); in TEST_P()
2602 auto *ImportedD = cast<FunctionDecl>(Import(FromD, Lang_CXX03)); in TEST_P() local
2605 EXPECT_FALSE(ImportedD->doesThisDeclarationHaveABody()); in TEST_P()
2608 EXPECT_EQ(ToFD->getPreviousDecl(), ImportedD); in TEST_P()
2625 auto *ImportedD = cast<FunctionDecl>(Import(FromD, Lang_CXX03)); in TEST_P() local
2628 EXPECT_TRUE(ImportedD->doesThisDeclarationHaveABody()); in TEST_P()
2633 EXPECT_EQ(InClassFD->getPreviousDecl(), ImportedD); in TEST_P()
2636 (*ImportedD->param_begin())->getOriginalType()); in TEST_P()
2654 auto *ImportedD = cast<FunctionDecl>(Import(FromD, Lang_CXX03)); in TEST_P() local
2657 EXPECT_FALSE(ImportedD->doesThisDeclarationHaveABody()); in TEST_P()
2662 EXPECT_EQ(ImportedD->getPreviousDecl(), OutOfClassFD); in TEST_P()
2665 (*ImportedD->param_begin())->getOriginalType()); in TEST_P()
2671 FunctionDecl *ImportedD; in TEST_P() local
2676 ImportedD = cast<FunctionDecl>(Import(FromD, Lang_CXX03)); in TEST_P()
2687 EXPECT_TRUE(ImportedD->doesThisDeclarationHaveABody()); in TEST_P()
2689 EXPECT_EQ(ImportedD1->getPreviousDecl(), ImportedD); in TEST_P()
3740 auto *ImportedD = cast<VarDecl>(Import(FromDWithDef, Lang_CXX11)); in TEST_P() local
3741 EXPECT_TRUE(ImportedD->getAnyInitializer()); in TEST_P()
3742 EXPECT_TRUE(ImportedD->getDefinition()); in TEST_P()
3771 auto *ImportedD = cast<VarDecl>(Import(FromDWithDef, Lang_CXX11)); in TEST_P() local
3772 EXPECT_TRUE(ImportedD->getAnyInitializer()); in TEST_P()
3773 EXPECT_TRUE(ImportedD->getDefinition()); in TEST_P()
4533 auto *ImportedD = cast<TypedefNameDecl>(Import(FromD, Lang_CXX11)); in TEST_P() local
4534 EXPECT_FALSE(ImportedD->getUnderlyingType()->isIncompleteType()); in TEST_P()