Home
last modified time | relevance | path

Searched refs:FromDWithDef (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/clang/unittests/AST/
H A DASTImporterTest.cpp3701 auto *FromDWithDef = LastDeclMatcher<VarDecl>().match( in TEST_P() local
3703 ASSERT_NE(FromDWithInit, FromDWithDef); in TEST_P()
3704 ASSERT_EQ(FromDWithDef->getPreviousDecl(), FromDWithInit); in TEST_P()
3707 auto *ToD1 = cast<VarDecl>(Import(FromDWithDef, Lang_CXX11)); in TEST_P()
3727 auto *FromDWithDef = LastDeclMatcher<VarDecl>().match( in TEST_P() local
3729 ASSERT_EQ(FromDWithInit, FromDWithDef->getPreviousDecl()); in TEST_P()
3732 ASSERT_TRUE(FromDWithDef->isThisDeclarationADefinition()); in TEST_P()
3733 ASSERT_FALSE(FromDWithDef->getInit()); in TEST_P()
3758 auto *FromDWithDef = LastDeclMatcher<VarDecl>().match( in TEST_P() local
3763 ASSERT_TRUE(FromDWithDef->isThisDeclarationADefinition()); in TEST_P()
[all …]