Lines Matching refs:DR

627   DiffResult DR;  in FindTypeDiffs()  local
638 DR.FirstDecl = FirstIt == FirstHashes.end() ? nullptr : FirstIt->first; in FindTypeDiffs()
639 DR.SecondDecl = SecondIt == SecondHashes.end() ? nullptr : SecondIt->first; in FindTypeDiffs()
641 DR.FirstDiffType = in FindTypeDiffs()
642 DR.FirstDecl ? DifferenceSelector(DR.FirstDecl) : EndOfClass; in FindTypeDiffs()
643 DR.SecondDiffType = in FindTypeDiffs()
644 DR.SecondDecl ? DifferenceSelector(DR.SecondDecl) : EndOfClass; in FindTypeDiffs()
645 return DR; in FindTypeDiffs()
647 return DR; in FindTypeDiffs()
651 DiffResult &DR, const NamedDecl *FirstRecord, StringRef FirstModule, in diagnoseSubMismatchUnexpected() argument
657 if (DR.FirstDecl) { in diagnoseSubMismatchUnexpected()
658 Diag(DR.FirstDecl->getLocation(), diag::note_first_module_difference) in diagnoseSubMismatchUnexpected()
659 << FirstRecord << DR.FirstDecl->getSourceRange(); in diagnoseSubMismatchUnexpected()
666 if (DR.SecondDecl) { in diagnoseSubMismatchUnexpected()
667 Diag(DR.SecondDecl->getLocation(), diag::note_second_module_difference) in diagnoseSubMismatchUnexpected()
668 << DR.SecondDecl->getSourceRange(); in diagnoseSubMismatchUnexpected()
673 DiffResult &DR, const NamedDecl *FirstRecord, StringRef FirstModule, in diagnoseSubMismatchDifferentDeclKinds() argument
694 GetMismatchedDeclLoc(FirstRecord, DR.FirstDiffType, DR.FirstDecl); in diagnoseSubMismatchDifferentDeclKinds()
697 << FirstDiagInfo.second << DR.FirstDiffType; in diagnoseSubMismatchDifferentDeclKinds()
700 GetMismatchedDeclLoc(SecondRecord, DR.SecondDiffType, DR.SecondDecl); in diagnoseSubMismatchDifferentDeclKinds()
703 << DR.SecondDiffType; in diagnoseSubMismatchDifferentDeclKinds()
908 DiffResult DR = FindTypeDiffs(FirstHashes, SecondHashes); in diagnoseMismatch() local
909 ODRMismatchDecl FirstDiffType = DR.FirstDiffType; in diagnoseMismatch()
910 ODRMismatchDecl SecondDiffType = DR.SecondDiffType; in diagnoseMismatch()
911 const Decl *FirstDecl = DR.FirstDecl; in diagnoseMismatch()
912 const Decl *SecondDecl = DR.SecondDecl; in diagnoseMismatch()
915 diagnoseSubMismatchUnexpected(DR, FirstRecord, FirstModule, SecondRecord, in diagnoseMismatch()
921 diagnoseSubMismatchDifferentDeclKinds(DR, FirstRecord, FirstModule, in diagnoseMismatch()
1588 DiffResult DR = FindTypeDiffs(FirstHashes, SecondHashes); in diagnoseMismatch() local
1589 ODRMismatchDecl FirstDiffType = DR.FirstDiffType; in diagnoseMismatch()
1590 ODRMismatchDecl SecondDiffType = DR.SecondDiffType; in diagnoseMismatch()
1591 const Decl *FirstDecl = DR.FirstDecl; in diagnoseMismatch()
1592 const Decl *SecondDecl = DR.SecondDecl; in diagnoseMismatch()
1595 diagnoseSubMismatchUnexpected(DR, FirstRecord, FirstModule, SecondRecord, in diagnoseMismatch()
1601 diagnoseSubMismatchDifferentDeclKinds(DR, FirstRecord, FirstModule, in diagnoseMismatch()
2026 DiffResult DR = FindTypeDiffs(FirstHashes, SecondHashes); in diagnoseMismatch() local
2027 ODRMismatchDecl FirstDiffType = DR.FirstDiffType; in diagnoseMismatch()
2028 ODRMismatchDecl SecondDiffType = DR.SecondDiffType; in diagnoseMismatch()
2029 const Decl *FirstDecl = DR.FirstDecl; in diagnoseMismatch()
2030 const Decl *SecondDecl = DR.SecondDecl; in diagnoseMismatch()
2033 diagnoseSubMismatchUnexpected(DR, FirstID, FirstModule, SecondID, in diagnoseMismatch()
2039 diagnoseSubMismatchDifferentDeclKinds(DR, FirstID, FirstModule, SecondID, in diagnoseMismatch()
2154 DiffResult DR = FindTypeDiffs(FirstHashes, SecondHashes); in diagnoseMismatch() local
2155 ODRMismatchDecl FirstDiffType = DR.FirstDiffType; in diagnoseMismatch()
2156 ODRMismatchDecl SecondDiffType = DR.SecondDiffType; in diagnoseMismatch()
2157 const Decl *FirstDecl = DR.FirstDecl; in diagnoseMismatch()
2158 const Decl *SecondDecl = DR.SecondDecl; in diagnoseMismatch()
2161 diagnoseSubMismatchUnexpected(DR, FirstProtocol, FirstModule, in diagnoseMismatch()
2167 diagnoseSubMismatchDifferentDeclKinds(DR, FirstProtocol, FirstModule, in diagnoseMismatch()