Lines Matching refs:FirstDecl
636 DR.FirstDecl = FirstIt == FirstHashes.end() ? nullptr : FirstIt->first; in FindTypeDiffs()
640 DR.FirstDecl ? DifferenceSelector(DR.FirstDecl) : EndOfClass; in FindTypeDiffs()
655 if (DR.FirstDecl) { in diagnoseSubMismatchUnexpected()
656 Diag(DR.FirstDecl->getLocation(), diag::note_first_module_difference) in diagnoseSubMismatchUnexpected()
657 << FirstRecord << DR.FirstDecl->getSourceRange(); in diagnoseSubMismatchUnexpected()
692 GetMismatchedDeclLoc(FirstRecord, DR.FirstDiffType, DR.FirstDecl); in diagnoseSubMismatchDifferentDeclKinds()
832 const NamedDecl *FirstDecl = std::get<0>(Pair); in diagnoseMismatch() local
834 if (computeODRHash(FirstDecl) == computeODRHash(SecondDecl)) in diagnoseMismatch()
837 assert(FirstDecl->getKind() == SecondDecl->getKind() && in diagnoseMismatch()
857 bool hasFirstArg = hasDefaultArg(FirstDecl); in diagnoseMismatch()
863 DeclarationName FirstName = FirstDecl->getDeclName(); in diagnoseMismatch()
878 Diag(FirstDecl->getLocation(), in diagnoseMismatch()
881 << FirstDecl->getSourceRange() << ErrDiffType << hasFirstArg in diagnoseMismatch()
909 const Decl *FirstDecl = DR.FirstDecl; in diagnoseMismatch() local
982 const StaticAssertDecl *FirstSA = cast<StaticAssertDecl>(FirstDecl); in diagnoseMismatch()
1037 cast<FieldDecl>(FirstDecl), in diagnoseMismatch()
1057 const CXXMethodDecl *FirstMethod = cast<CXXMethodDecl>(FirstDecl); in diagnoseMismatch()
1263 cast<TypedefNameDecl>(FirstDecl), in diagnoseMismatch()
1271 cast<VarDecl>(FirstDecl), in diagnoseMismatch()
1277 const FriendDecl *FirstFriend = cast<FriendDecl>(FirstDecl); in diagnoseMismatch()
1320 cast<FunctionTemplateDecl>(FirstDecl); in diagnoseMismatch()
1544 Diag(FirstDecl->getLocation(), in diagnoseMismatch()
1547 << FirstDecl->getSourceRange(); in diagnoseMismatch()
1581 const Decl *FirstDecl = DR.FirstDecl; in diagnoseMismatch() local
1618 cast<FieldDecl>(FirstDecl), in diagnoseMismatch()
1625 cast<TypedefNameDecl>(FirstDecl), in diagnoseMismatch()
1633 cast<VarDecl>(FirstDecl), in diagnoseMismatch()
1640 Diag(FirstDecl->getLocation(), in diagnoseMismatch()
1643 << FirstDecl->getSourceRange(); in diagnoseMismatch()
2018 const Decl *FirstDecl = DR.FirstDecl; in diagnoseMismatch() local
2055 cast<ObjCMethodDecl>(FirstDecl), in diagnoseMismatch()
2062 cast<FieldDecl>(FirstDecl), in diagnoseMismatch()
2067 const ObjCIvarDecl *FirstIvar = cast<ObjCIvarDecl>(FirstDecl); in diagnoseMismatch()
2085 cast<ObjCPropertyDecl>(FirstDecl), in diagnoseMismatch()
2092 Diag(FirstDecl->getLocation(), in diagnoseMismatch()
2095 << FirstDecl->getSourceRange(); in diagnoseMismatch()
2145 const Decl *FirstDecl = DR.FirstDecl; in diagnoseMismatch() local
2182 cast<ObjCMethodDecl>(FirstDecl), in diagnoseMismatch()
2190 cast<ObjCPropertyDecl>(FirstDecl), in diagnoseMismatch()
2197 Diag(FirstDecl->getLocation(), in diagnoseMismatch()
2200 << FirstDecl->getSourceRange(); in diagnoseMismatch()