Lines Matching defs:FromDWithDef
3934 auto *FromDWithDef = LastDeclMatcher<VarDecl>().match(
3936 ASSERT_NE(FromDWithInit, FromDWithDef);
3937 ASSERT_EQ(FromDWithDef->getPreviousDecl(), FromDWithInit);
3940 auto *ToD1 = cast<VarDecl>(Import(FromDWithDef, Lang_CXX11));
3960 auto *FromDWithDef = LastDeclMatcher<VarDecl>().match(
3962 ASSERT_EQ(FromDWithInit, FromDWithDef->getPreviousDecl());
3965 ASSERT_TRUE(FromDWithDef->isThisDeclarationADefinition());
3966 ASSERT_FALSE(FromDWithDef->getInit());
3973 auto *ImportedD = cast<VarDecl>(Import(FromDWithDef, Lang_CXX11));
3991 auto *FromDWithDef = LastDeclMatcher<VarDecl>().match(
3993 ASSERT_EQ(FromDDeclarationOnly, FromDWithDef->getPreviousDecl());
3996 ASSERT_TRUE(FromDWithDef->isThisDeclarationADefinition());
3997 ASSERT_TRUE(FromDWithDef->getInit());
4004 auto *ImportedD = cast<VarDecl>(Import(FromDWithDef, Lang_CXX11));