@@ -2320,19 +2320,17 @@ class SpecifyKeyPathRootType final : public ConstraintFix {
2320
2320
SpecifyKeyPathRootType (ConstraintSystem &cs, ConstraintLocator *locator)
2321
2321
: ConstraintFix(cs, FixKind::SpecifyKeyPathRootType, locator) {}
2322
2322
2323
- public:
2324
- std::string getName () const override {
2325
- return " specify key path root type" ;
2326
- }
2323
+ public:
2324
+ std::string getName () const override { return " specify key path root type" ; }
2327
2325
2328
- bool diagnose (const Solution &solution, bool asNote = false ) const override ;
2326
+ bool diagnose (const Solution &solution, bool asNote = false ) const override ;
2329
2327
2330
- static SpecifyKeyPathRootType *create (ConstraintSystem &cs,
2331
- ConstraintLocator *locator);
2328
+ static SpecifyKeyPathRootType *create (ConstraintSystem &cs,
2329
+ ConstraintLocator *locator);
2332
2330
2333
- static bool classof (ConstraintFix *fix) {
2334
- return fix->getKind () == FixKind::SpecifyKeyPathRootType;
2335
- }
2331
+ static bool classof (ConstraintFix *fix) {
2332
+ return fix->getKind () == FixKind::SpecifyKeyPathRootType;
2333
+ }
2336
2334
};
2337
2335
2338
2336
// / Diagnose missing unwrap of optional base type on key path application.
@@ -2649,7 +2647,7 @@ class AllowInvalidStaticMemberRefOnProtocolMetatype final
2649
2647
FixKind::AllowInvalidStaticMemberRefOnProtocolMetatype,
2650
2648
locator) {}
2651
2649
2652
- public:
2650
+ public:
2653
2651
std::string getName () const override {
2654
2652
return " allow invalid static member reference on a protocol metatype" ;
2655
2653
}
0 commit comments