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