@@ -3115,13 +3115,13 @@ class ObjCImplementationChecker {
3115
3115
}
3116
3116
3117
3117
// Ambiguous match (many requirements match one candidate)
3118
- cand-> diagnose (diag::objc_implementation_multiple_matching_requirements,
3118
+ diagnose (cand, diag::objc_implementation_multiple_matching_requirements,
3119
3119
cand->getDescriptiveKind (), cand);
3120
3120
3121
3121
bool shouldOfferFix = !candExplicitObjCName;
3122
3122
for (auto req : matchedRequirements.matches ) {
3123
3123
auto diag =
3124
- cand-> diagnose (diag::objc_implementation_one_matched_requirement,
3124
+ diagnose (cand, diag::objc_implementation_one_matched_requirement,
3125
3125
req->getDescriptiveKind (), req,
3126
3126
*req->getObjCRuntimeName (), shouldOfferFix,
3127
3127
req->getObjCRuntimeName ()->getString (scratch));
@@ -3164,14 +3164,14 @@ class ObjCImplementationChecker {
3164
3164
cast<IterableDeclContext>(req->getDeclContext ()->getAsDecl ());
3165
3165
auto ext =
3166
3166
cast<ExtensionDecl>(reqIDC->getImplementationContext ());
3167
- ext-> diagnose (diag::objc_implementation_multiple_matching_candidates,
3167
+ diagnose (ext, diag::objc_implementation_multiple_matching_candidates,
3168
3168
req->getDescriptiveKind (), req,
3169
3169
*req->getObjCRuntimeName ());
3170
3170
3171
3171
for (auto cand : cands.matches ) {
3172
3172
bool shouldOfferFix = !unmatchedCandidates[cand];
3173
3173
auto diag =
3174
- cand-> diagnose (diag::objc_implementation_candidate_impl_here,
3174
+ diagnose (cand, diag::objc_implementation_candidate_impl_here,
3175
3175
cand->getDescriptiveKind (), cand, shouldOfferFix,
3176
3176
req->getObjCRuntimeName ()->getString (scratch));
3177
3177
@@ -3182,7 +3182,7 @@ class ObjCImplementationChecker {
3182
3182
}
3183
3183
}
3184
3184
3185
- req-> diagnose (diag::objc_implementation_requirement_here,
3185
+ diagnose (req, diag::objc_implementation_requirement_here,
3186
3186
req->getDescriptiveKind (), req);
3187
3187
}
3188
3188
0 commit comments