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

References

tools/clang/unittests/AST/ASTImporterGenericRedeclTest.cpp
  119     ASSERT_NE(Prev, Current);
  120     ASSERT_EQ(&Prev->getASTContext(), &Current->getASTContext());
  121     EXPECT_EQ(Prev->getCanonicalDecl(), Current->getCanonicalDecl());
  124     if (auto *PrevT = dyn_cast<TemplateDecl>(Prev)) {
  125       EXPECT_EQ(Current->getPreviousDecl(), Prev);
  135     if (auto *PrevF = dyn_cast<FunctionDecl>(Prev)) {
  141         EXPECT_THAT(Prev, testing::AnyOf(
  144         auto *ToTU = Prev->getTranslationUnitDecl();
  154     EXPECT_EQ(Current->getPreviousDecl(), Prev);