Lines Matching refs:SecondModule
56 StringRef SecondModule, in diagnoseSubMismatchMethodParameters() argument
87 auto DiagNote = [&Diags, &GetDiagMethodType, SecondModule, in diagnoseSubMismatchMethodParameters()
93 << SecondModule.empty() << SecondModule in diagnoseSubMismatchMethodParameters()
145 const NamedDecl *FirstRecord, StringRef FirstModule, StringRef SecondModule, in diagnoseSubMismatchField() argument
163 auto DiagNote = [SecondField, SecondModule, in diagnoseSubMismatchField()
167 << SecondModule.empty() << SecondModule << SecondField->getSourceRange() << DiffType; in diagnoseSubMismatchField()
247 const NamedDecl *FirstRecord, StringRef FirstModule, StringRef SecondModule, in diagnoseSubMismatchTypedef() argument
261 auto DiagNote = [SecondTD, SecondModule, in diagnoseSubMismatchTypedef()
265 << SecondModule << SecondTD->getSourceRange() << DiffType; in diagnoseSubMismatchTypedef()
288 StringRef SecondModule, in diagnoseSubMismatchVar() argument
305 auto DiagNote = [SecondVD, SecondModule, this](ODRVarDifference DiffType) { in diagnoseSubMismatchVar()
308 << SecondModule << SecondVD->getSourceRange() << DiffType; in diagnoseSubMismatchVar()
365 const ObjCContainerDecl *SecondContainer, StringRef SecondModule) const { in diagnoseSubMismatchProtocols()
378 auto DiagRefProtocolNote = [SecondModule, in diagnoseSubMismatchProtocols()
382 << SecondModule.empty() << SecondModule << Range << DiffType; in diagnoseSubMismatchProtocols()
422 StringRef SecondModule, const ObjCMethodDecl *FirstMethod, in diagnoseSubMismatchObjCMethod() argument
440 auto DiagNote = [SecondModule, SecondMethod, in diagnoseSubMismatchObjCMethod()
444 << SecondModule.empty() << SecondModule in diagnoseSubMismatchObjCMethod()
486 FirstModule, SecondModule, in diagnoseSubMismatchObjCMethod()
506 StringRef SecondModule, const ObjCPropertyDecl *FirstProp, in diagnoseSubMismatchObjCProperty() argument
521 auto DiagNote = [SecondModule, SecondProp, in diagnoseSubMismatchObjCProperty()
524 << SecondModule.empty() << SecondModule in diagnoseSubMismatchObjCProperty()
652 const NamedDecl *SecondRecord, StringRef SecondModule) const { in diagnoseSubMismatchUnexpected()
664 << SecondModule; in diagnoseSubMismatchUnexpected()
674 const NamedDecl *SecondRecord, StringRef SecondModule) const { in diagnoseSubMismatchDifferentDeclKinds()
702 << SecondModule.empty() << SecondModule << SecondDiagInfo.second in diagnoseSubMismatchDifferentDeclKinds()
715 std::string SecondModule = getOwningModuleNameForDiagnostic(SecondRecord); in diagnoseMismatch() local
738 auto DiagBaseNote = [&SecondModule, in diagnoseMismatch()
742 << SecondModule << Range << DiffType; in diagnoseMismatch()
887 << SecondModule << SecondDecl->getSourceRange() << NoteDiffType in diagnoseMismatch()
916 SecondModule); in diagnoseMismatch()
922 SecondRecord, SecondModule); in diagnoseMismatch()
965 auto DiagNote = [&SecondModule, this](SourceLocation Loc, SourceRange Range, in diagnoseMismatch()
968 << SecondModule << Range << DiffType; in diagnoseMismatch()
1041 if (diagnoseSubMismatchField(FirstRecord, FirstModule, SecondModule, in diagnoseMismatch()
1152 FirstModule, SecondModule, in diagnoseMismatch()
1267 if (diagnoseSubMismatchTypedef(FirstRecord, FirstModule, SecondModule, in diagnoseMismatch()
1275 if (diagnoseSubMismatchVar(FirstRecord, FirstModule, SecondModule, in diagnoseMismatch()
1560 << SecondModule.empty() << SecondModule << FirstDiffType in diagnoseMismatch()
1571 std::string SecondModule = getOwningModuleNameForDiagnostic(SecondRecord); in diagnoseMismatch() local
1596 SecondModule); in diagnoseMismatch()
1602 SecondRecord, SecondModule); in diagnoseMismatch()
1627 if (diagnoseSubMismatchField(FirstRecord, FirstModule, SecondModule, in diagnoseMismatch()
1634 if (diagnoseSubMismatchTypedef(FirstRecord, FirstModule, SecondModule, in diagnoseMismatch()
1642 if (diagnoseSubMismatchVar(FirstRecord, FirstModule, SecondModule, in diagnoseMismatch()
1656 << SecondModule.empty() << SecondModule << FirstDiffType in diagnoseMismatch()
1678 std::string SecondModule = getOwningModuleNameForDiagnostic(SecondFunction); in diagnoseMismatch() local
1687 auto DiagNote = [&SecondModule, this](SourceLocation Loc, SourceRange Range, in diagnoseMismatch()
1690 << SecondModule << Range << DiffType; in diagnoseMismatch()
1812 std::string SecondModule = getOwningModuleNameForDiagnostic(SecondEnum); in diagnoseMismatch() local
1820 auto DiagNote = [&SecondModule, this](const auto *DiagAnchor, in diagnoseMismatch()
1823 << SecondModule << DiagAnchor->getSourceRange() << DiffType; in diagnoseMismatch()
1937 std::string SecondModule = getOwningModuleNameForDiagnostic(SecondID); in diagnoseMismatch() local
1952 auto DiagNote = [&SecondModule, this](SourceLocation Loc, SourceRange Range, in diagnoseMismatch()
1955 << SecondModule.empty() << SecondModule << Range << DiffType; in diagnoseMismatch()
2006 SecondProtos, SecondID, SecondModule)) in diagnoseMismatch()
2034 SecondModule); in diagnoseMismatch()
2040 SecondModule); in diagnoseMismatch()
2065 if (diagnoseSubMismatchObjCMethod(FirstID, FirstModule, SecondModule, in diagnoseMismatch()
2072 if (diagnoseSubMismatchField(FirstID, FirstModule, SecondModule, in diagnoseMismatch()
2095 if (diagnoseSubMismatchObjCProperty(FirstID, FirstModule, SecondModule, in diagnoseMismatch()
2109 << SecondModule.empty() << SecondModule << FirstDiffType in diagnoseMismatch()
2122 std::string SecondModule = getOwningModuleNameForDiagnostic(SecondProtocol); in diagnoseMismatch() local
2134 SecondModule)) in diagnoseMismatch()
2162 SecondProtocol, SecondModule); in diagnoseMismatch()
2168 SecondProtocol, SecondModule); in diagnoseMismatch()
2193 if (diagnoseSubMismatchObjCMethod(FirstProtocol, FirstModule, SecondModule, in diagnoseMismatch()
2201 SecondModule, in diagnoseMismatch()
2215 << SecondModule.empty() << SecondModule << FirstDiffType in diagnoseMismatch()