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

References

tools/clang/include/clang/AST/DeclCXX.h
  508     return const_cast<CXXRecordDecl*>(this)->getPreviousDecl();
  525       assert(Recent->getPreviousDecl());
  526       Recent = Recent->getPreviousDecl();
tools/clang/lib/AST/ASTContext.cpp
 3956   } else if (CXXRecordDecl *PrevDecl = Decl->getPreviousDecl()) {
tools/clang/lib/AST/ASTImporter.cpp
 5128     if (!ToTemplated->getPreviousDecl()) {
tools/clang/lib/Sema/SemaTemplate.cpp
 9304     = cast_or_null<CXXRecordDecl>(Record->getPreviousDecl());
tools/clang/lib/Sema/SemaTemplateInstantiate.cpp
 2760       if (Record->isInjectedClassName() || Record->getPreviousDecl() ||
tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
  648   DeclT *Result = D->getPreviousDecl();
tools/clang/lib/Serialization/ASTReader.cpp
 6750     for (auto *DI = D; DI; DI = DI->getPreviousDecl()) {
 6758       for (auto *DI = D; DI; DI = DI->getPreviousDecl())
tools/clang/lib/Serialization/ASTWriterDecl.cpp
 1520   if (D->getPreviousDecl() == nullptr) {
tools/clang/unittests/AST/ASTImporterTest.cpp
 3746   ASSERT_EQ(FromFriendClass->getPreviousDecl(), FromClass);
 3757   EXPECT_EQ(ToFriendClass->getPreviousDecl(), ToClass);
 3832   ASSERT_TRUE(Imported2->getPreviousDecl());
 3833   EXPECT_EQ(Imported2->getPreviousDecl(), Imported1);
 3871   EXPECT_TRUE(Imported->getPreviousDecl());
 3901             ImportedDef->getTemplatedDecl()->getPreviousDecl());
 3932             ImportedDef->getTemplatedDecl()->getPreviousDecl());
 3959   EXPECT_TRUE(ImportedDef->getPreviousDecl());
 3960   EXPECT_EQ(ImportedFwd, ImportedDef->getPreviousDecl());
tools/clang/unittests/AST/ASTImporterVisibilityTest.cpp
  113     EXPECT_EQ(ToD1->getPreviousDecl(), ToD0);
  205       EXPECT_EQ(ToD1->getPreviousDecl(), ToD0);
  207       EXPECT_FALSE(ToD1->getPreviousDecl());
  223       EXPECT_EQ(ToD1->getPreviousDecl(), ToD0);
  225       EXPECT_FALSE(ToD1->getPreviousDecl());