Lines Matching defs:FirstDecl

1537       const DeclID *FirstDecl = F->FileSortedDecls + Record[6];
1539 FileDeclIDs[FID] = FileDeclsInfo(F, llvm::makeArrayRef(FirstDecl,
9638 const NamedDecl* FirstDecl = cast<NamedDecl>(FirstIt->first);
9641 assert(FirstDecl->getKind() == SecondDecl->getKind() &&
9644 DeclarationName FirstName = FirstDecl->getDeclName();
9654 ODRDiagError(FirstDecl->getLocation(), FirstDecl->getSourceRange(),
9663 switch (FirstDecl->getKind()) {
9667 const auto *FirstParam = cast<TemplateTypeParmDecl>(FirstDecl);
9677 ODRDiagError(FirstDecl->getLocation(),
9678 FirstDecl->getSourceRange(),
9691 ODRDiagError(FirstDecl->getLocation(), FirstDecl->getSourceRange(),
9699 const auto *FirstParam = cast<NonTypeTemplateParmDecl>(FirstDecl);
9709 ODRDiagError(FirstDecl->getLocation(),
9710 FirstDecl->getSourceRange(),
9723 ODRDiagError(FirstDecl->getLocation(), FirstDecl->getSourceRange(),
9731 const auto *FirstParam = cast<TemplateTemplateParmDecl>(FirstDecl);
9742 ODRDiagError(FirstDecl->getLocation(),
9743 FirstDecl->getSourceRange(),
9756 ODRDiagError(FirstDecl->getLocation(), FirstDecl->getSourceRange(),
9848 Decl *FirstDecl = nullptr;
9854 // SecondDiffType will not be Other and FirstDecl and SecondDecl will be
9864 FirstDecl = FirstIt == FirstHashes.end() ? nullptr : FirstIt->first;
9867 FirstDiffType = FirstDecl ? DifferenceSelector(FirstDecl) : EndOfClass;
9882 if (FirstDecl) {
9883 Diag(FirstDecl->getLocation(), diag::note_first_module_difference)
9884 << FirstRecord << FirstDecl->getSourceRange();
10003 StaticAssertDecl *FirstSA = cast<StaticAssertDecl>(FirstDecl);
10059 FieldDecl *FirstField = cast<FieldDecl>(FirstDecl);
10183 const CXXMethodDecl *FirstMethod = cast<CXXMethodDecl>(FirstDecl);
10246 // FirstDecl is the canonical Decl of SecondDecl, so the storage
10536 TypedefNameDecl *FirstTD = cast<TypedefNameDecl>(FirstDecl);
10567 VarDecl *FirstVD = cast<VarDecl>(FirstDecl);
10638 FriendDecl *FirstFriend = cast<FriendDecl>(FirstDecl);
10686 cast<FunctionTemplateDecl>(FirstDecl);
10988 Diag(FirstDecl->getLocation(),
10991 << FirstDecl->getSourceRange();