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> {
2662
2662
return ;
2663
2663
}
2664
2664
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;
2667
2668
2668
2669
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
+ });
2675
2674
}
2676
2675
}
2677
2676
}
You can’t perform that action at this time.
0 commit comments