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

References

tools/clang/include/clang/AST/Decl.h
 3064   TypedefNameDecl *getCanonicalDecl() override { return getFirstDecl(); }
 4404     First = PrevDecl->getFirstDecl();
tools/clang/include/clang/AST/DeclCXX.h
 3005     return getFirstDecl();
 3122     return getFirstDecl();
tools/clang/include/clang/AST/DeclObjC.h
 1914   ObjCInterfaceDecl *getCanonicalDecl() override { return getFirstDecl(); }
 2249   ObjCProtocolDecl *getCanonicalDecl() override { return getFirstDecl(); }
tools/clang/include/clang/AST/DeclTemplate.h
  848     return getFirstDecl();
 2016     auto *First = cast<ClassTemplatePartialSpecializationDecl>(getFirstDecl());
 2038         cast<ClassTemplatePartialSpecializationDecl>(getFirstDecl());
 2044     auto *First = cast<ClassTemplatePartialSpecializationDecl>(getFirstDecl());
 2849     auto *First = cast<VarTemplatePartialSpecializationDecl>(getFirstDecl());
 2871         cast<VarTemplatePartialSpecializationDecl>(getFirstDecl());
 2877     auto *First = cast<VarTemplatePartialSpecializationDecl>(getFirstDecl());
tools/clang/include/clang/AST/Redeclarable.h
  226     return getFirstDecl()->getNextRedeclaration();
tools/clang/lib/AST/ASTContext.cpp
10287       cast<CXXRecordDecl>(RD->getFirstDecl()));
10293       cast<CXXRecordDecl>(RD->getFirstDecl()),
10294       cast<CXXConstructorDecl>(CD->getFirstDecl()));
tools/clang/lib/AST/ASTImporter.cpp
  113     for (auto *R : D->getFirstDecl()->redecls()) {
  114       if (R != D->getFirstDecl())
  117     Redecls.push_back(D->getFirstDecl());
tools/clang/lib/AST/Decl.cpp
 2073 VarDecl *VarDecl::getCanonicalDecl() { return getFirstDecl(); }
 2168   VarDecl *First = getFirstDecl();
 2180   VarDecl *First = getFirstDecl();
 3102 FunctionDecl *FunctionDecl::getCanonicalDecl() { return getFirstDecl(); }
 4064 TagDecl *TagDecl::getCanonicalDecl() { return getFirstDecl(); }
tools/clang/lib/AST/DeclCXX.cpp
 2619   auto *First = cast<CXXDestructorDecl>(getFirstDecl());
tools/clang/lib/AST/Expr.cpp
  444       TypeSourceInfo *TInfo = Var->getFirstDecl()->getTypeSourceInfo();
tools/clang/lib/Sema/SemaCUDA.cpp
  409     InstantiateFunctionDefinition(Loc, CD->getFirstDecl());
  447     InstantiateFunctionDefinition(Loc, DD->getFirstDecl());
tools/clang/lib/Sema/SemaCast.cpp
 1930   SourceLocation NameLoc = FD->getFirstDecl()->getNameInfo().getLoc();
tools/clang/lib/Sema/SemaDecl.cpp
 3288     FunctionDecl *First = Old->getFirstDecl();
 3545       Diag(Old->getFirstDecl()->getLocation(),
 3557       Diag(Old->getFirstDecl()->getLocation(),
 7483     Prev = FD->getFirstDecl();
 7485     Prev = cast<VarDecl>(Prev)->getFirstDecl();
12714         cast<CXXRecordDecl>(VD->getFirstDecl()->getDeclContext());
tools/clang/lib/Sema/SemaExpr.cpp
15491         Constructor = cast<CXXConstructorDecl>(Constructor->getFirstDecl());
15508         Destructor = cast<CXXDestructorDecl>(Destructor->getFirstDecl());
15519           MethodDecl = cast<CXXMethodDecl>(MethodDecl->getFirstDecl());
15529               cast<CXXConversionDecl>(MethodDecl->getFirstDecl());
tools/clang/lib/Sema/SemaOpenMP.cpp
 5210         InstantiateFunctionDefinition(Loc, F->getFirstDecl());
tools/clang/lib/Sema/SemaTemplate.cpp
 8448               cast<FunctionTemplateDecl>(FunTmpl->getFirstDecl()),
tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
 1488       if (PartialSpecs[I]->getFirstDecl()->isOutOfLine())
 1571       if (PartialSpecs[I]->getFirstDecl()->isOutOfLine())
 4439     FromVar = FromVar->getFirstDecl();
 4666       if (OldVar->getFirstDecl()->hasInit())
 4735         (PatternDecl = PatternDecl->getFirstDecl())->hasInit() &&
tools/clang/lib/Serialization/ASTReaderDecl.cpp
 1564     D->AnonOrFirstNamespaceAndInline.setPointer(D->getFirstDecl());
tools/clang/lib/Serialization/ASTWriterDecl.cpp
  386       D->getFirstDecl() == D->getMostRecentDecl() &&
  454       D->getFirstDecl() == D->getMostRecentDecl() &&
  491       D->getFirstDecl() == D->getMostRecentDecl() &&
 1037       D->getFirstDecl() == D->getMostRecentDecl() &&
 1341       D->getFirstDecl() == D->getMostRecentDecl() &&
 1722   T *First = D->getFirstDecl();