File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -2662,16 +2662,15 @@ class DeclChecker : public DeclVisitor<DeclChecker> {
26622662 return ;
26632663 }
26642664
2665- auto diagMsg = isProtocolContext ? diag::attr_static_exclusive_no_setters
2666- : diag::attr_static_exclusive_only_let_only;
2665+ auto diagMsg = isProtocolContext
2666+ ? diag::attr_static_exclusive_no_setters
2667+ : diag::attr_static_exclusive_only_let_only;
26672668
26682669 Ctx.Diags .diagnoseWithNotes (
2669- VD->diagnose (diagMsg,
2670- VD->getInterfaceType ()),
2671- [&]() {
2672- SD->diagnose (diag::attr_static_exclusive_only_type_nonmutating,
2673- SD->getDeclaredInterfaceType ());
2674- });
2670+ VD->diagnose (diagMsg, VD->getInterfaceType ()), [&]() {
2671+ SD->diagnose (diag::attr_static_exclusive_only_type_nonmutating,
2672+ SD->getDeclaredInterfaceType ());
2673+ });
26752674 }
26762675 }
26772676 }
You can’t perform that action at this time.
0 commit comments