Lines Matching refs:FirstDecl
1542 const DeclID *FirstDecl = F->FileSortedDecls + Record[6];
1544 FileDeclIDs[FID] = FileDeclsInfo(F, llvm::makeArrayRef(FirstDecl,
9894 Decl *FirstDecl = nullptr, *SecondDecl = nullptr;
9899 // SecondDiffType will not be Other and FirstDecl and SecondDecl will be
9914 DR.FirstDecl = FirstIt == FirstHashes.end() ? nullptr : FirstIt->first;
9919 DR.FirstDecl ? DifferenceSelector(DR.FirstDecl) : EndOfClass;
9938 if (DR.FirstDecl) {
9939 Diag(DR.FirstDecl->getLocation(), diag::note_first_module_difference)
9940 << FirstRecord << DR.FirstDecl->getSourceRange();
9962 FirstLoc = DR.FirstDecl->getLocation();
9963 FirstRange = DR.FirstDecl->getSourceRange();
10165 const NamedDecl* FirstDecl = cast<NamedDecl>(FirstIt->first);
10168 assert(FirstDecl->getKind() == SecondDecl->getKind() &&
10171 DeclarationName FirstName = FirstDecl->getDeclName();
10181 ODRDiagTemplateError(FirstDecl->getLocation(),
10182 FirstDecl->getSourceRange(),
10192 switch (FirstDecl->getKind()) {
10196 const auto *FirstParam = cast<TemplateTypeParmDecl>(FirstDecl);
10206 ODRDiagTemplateError(FirstDecl->getLocation(),
10207 FirstDecl->getSourceRange(),
10220 ODRDiagTemplateError(FirstDecl->getLocation(),
10221 FirstDecl->getSourceRange(),
10230 const auto *FirstParam = cast<NonTypeTemplateParmDecl>(FirstDecl);
10240 ODRDiagTemplateError(FirstDecl->getLocation(),
10241 FirstDecl->getSourceRange(),
10254 ODRDiagTemplateError(FirstDecl->getLocation(),
10255 FirstDecl->getSourceRange(),
10264 const auto *FirstParam = cast<TemplateTemplateParmDecl>(FirstDecl);
10275 ODRDiagTemplateError(FirstDecl->getLocation(),
10276 FirstDecl->getSourceRange(),
10289 ODRDiagTemplateError(FirstDecl->getLocation(),
10290 FirstDecl->getSourceRange(),
10318 Decl *FirstDecl = DR.FirstDecl;
10346 StaticAssertDecl *FirstSA = cast<StaticAssertDecl>(FirstDecl);
10405 cast<FieldDecl>(FirstDecl),
10421 const CXXMethodDecl *FirstMethod = cast<CXXMethodDecl>(FirstDecl);
10484 // FirstDecl is the canonical Decl of SecondDecl, so the storage
10788 cast<TypedefNameDecl>(FirstDecl), cast<TypedefNameDecl>(SecondDecl),
10795 cast<VarDecl>(FirstDecl), cast<VarDecl>(SecondDecl));
10799 FriendDecl *FirstFriend = cast<FriendDecl>(FirstDecl);
10849 cast<FunctionTemplateDecl>(FirstDecl);
11167 Diag(FirstDecl->getLocation(),
11170 << FirstDecl->getSourceRange();