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

References

tools/clang/include/clang/AST/DeclBase.h
 1043     Decl *Prev = getPreviousDecl();
 1082     Decl *Prev = getPreviousDecl();
tools/clang/lib/AST/ASTDumper.cpp
   64                 if (Decl *Prev = D->getPreviousDecl())
tools/clang/lib/AST/ASTImporter.cpp
 1243   if (auto Imp = importSeq(T->getDecl(), T->getDecl()->getPreviousDecl()))
tools/clang/lib/AST/DeclCXX.cpp
  846         if (Primary->getPreviousDecl())
  847           Conversions.replace(cast<NamedDecl>(Primary->getPreviousDecl()),
tools/clang/lib/AST/TemplateName.cpp
  165     Decl = cast<TemplateDecl>(Decl->getPreviousDecl());
tools/clang/lib/Sema/SemaLookup.cpp
  447   for (Decl *Prev = DUnderlying->getPreviousDecl(); Prev;
  448        Prev = Prev->getPreviousDecl())
 3572            D = cast_or_null<NamedDecl>(D->getPreviousDecl())) {
tools/clang/lib/Sema/SemaTemplate.cpp
 3979     for (Decl *Prev = PrevDecl; Prev; Prev = Prev->getPreviousDecl()) {
 7935     for (Decl *Prev = PrevDecl; Prev; Prev = Prev->getPreviousDecl()) {
 8120        Prev = Prev->getPreviousDecl()) {
 8198       for (Decl *Prev = PrevDecl; Prev; Prev = Prev->getPreviousDecl()) {
 8283       for (Decl *Prev = PrevDecl; Prev; Prev = Prev->getPreviousDecl()) {
tools/clang/lib/Serialization/ASTReader.cpp
 9968              R = R->getPreviousDecl()) {
 9984       for (auto *R = getMostRecentExistingDecl(ID); R; R = R->getPreviousDecl())
 9991       for (auto *R = getMostRecentExistingDecl(PD); R; R = R->getPreviousDecl())
 9998     for (auto *R = getMostRecentExistingDecl(RTD); R; R = R->getPreviousDecl())
tools/clang/lib/Serialization/ASTReaderDecl.cpp
  478       Current = Current->getPreviousDecl();
tools/clang/lib/Serialization/ASTWriter.cpp
 3579   if (Decl *Redecl = D->getPreviousDecl()) {
 3581     for (; Redecl; Redecl = Redecl->getPreviousDecl()) {
tools/clang/unittests/AST/ASTImporterGenericRedeclTest.cpp
  125       EXPECT_EQ(Current->getPreviousDecl(), Prev);
  129       EXPECT_EQ(CurrentT->getTemplatedDecl()->getPreviousDecl(),
  142                               Current->getPreviousDecl(),
  143                               Current->getPreviousDecl()->getPreviousDecl()));
  143                               Current->getPreviousDecl()->getPreviousDecl()));
  154     EXPECT_EQ(Current->getPreviousDecl(), Prev);
tools/clang/unittests/AST/ASTImporterODRStrategiesTest.cpp
  279     EXPECT_FALSE(ImportedD->getPreviousDecl());
tools/clang/unittests/AST/ASTImporterTest.cpp
 3801   EXPECT_EQ(Friend->getFriendDecl()->getPreviousDecl(), Class);
 4139     ASSERT_TRUE(SpecD->getPreviousDecl());
 4140     ASSERT_FALSE(cast<FunctionDecl>(SpecD->getPreviousDecl())
 4153     ASSERT_TRUE(SpecD->getPreviousDecl());
 4154     EXPECT_FALSE(cast<FunctionDecl>(SpecD->getPreviousDecl())