@@ -48,7 +48,7 @@ NOTE(extended_type_declared_here,none,
48
48
" extended type declared here" , ())
49
49
50
50
// ------------------------------------------------------------------------------
51
- // Constraint solver diagnostics
51
+ // MARK: Constraint solver diagnostics
52
52
// ------------------------------------------------------------------------------
53
53
54
54
ERROR(ambiguous_member_overload_set,none,
@@ -547,7 +547,7 @@ ERROR(cannot_return_value_from_void_func,none,
547
547
" unexpected non-void return value in void function" , ())
548
548
549
549
// ------------------------------------------------------------------------------
550
- // Name Binding
550
+ // MARK: Name Binding
551
551
// ------------------------------------------------------------------------------
552
552
553
553
ERROR(sema_no_import,Fatal,
@@ -767,14 +767,14 @@ NOTE(previous_precedence_group_decl,none,
767
767
" previous precedence group declaration here" , ())
768
768
769
769
// ------------------------------------------------------------------------------
770
- // Type Check Coercions
770
+ // MARK: Type Check Coercions
771
771
// ------------------------------------------------------------------------------
772
772
773
773
ERROR(tuple_conversion_not_expressible,none,
774
774
" cannot express tuple conversion %0 to %1" , (Type, Type))
775
775
776
776
// ------------------------------------------------------------------------------
777
- // Expression Type Checking Errors
777
+ // MARK: Expression Type Checking Errors
778
778
// ------------------------------------------------------------------------------
779
779
ERROR(types_not_convertible,none,
780
780
" %1 is not %select{convertible to|a subtype of}0 %2" ,
@@ -1009,7 +1009,7 @@ ERROR(c_function_pointer_from_function_with_context,none,
1009
1009
(bool , unsigned ))
1010
1010
1011
1011
// ------------------------------------------------------------------------------
1012
- // Type Check Declarations
1012
+ // MARK: Type Check Declarations
1013
1013
// ------------------------------------------------------------------------------
1014
1014
1015
1015
ERROR(var_type_not_materializable,none,
@@ -2295,7 +2295,7 @@ ERROR(property_behavior_conformance_broken,none,
2295
2295
" property behavior for %0 in type %1 is broken" , (DeclName, Type))
2296
2296
2297
2297
// ------------------------------------------------------------------------------
2298
- // Type Check Attributes
2298
+ // MARK: Type Check Attributes
2299
2299
// ------------------------------------------------------------------------------
2300
2300
2301
2301
ERROR(attr_only_one_decl_kind,none,
@@ -2437,7 +2437,7 @@ ERROR(implements_attr_protocol_not_conformed_to,none,
2437
2437
(DeclName, DeclName))
2438
2438
2439
2439
// ------------------------------------------------------------------------------
2440
- // Type Check Expressions
2440
+ // MARK: Type Check Expressions
2441
2441
// ------------------------------------------------------------------------------
2442
2442
2443
2443
NOTE(found_candidate,none,
@@ -2900,7 +2900,7 @@ ERROR(capture_across_type_decl,none,
2900
2900
(DescriptiveDeclKind, Identifier))
2901
2901
2902
2902
// ------------------------------------------------------------------------------
2903
- // Type Check Statements
2903
+ // MARK: Type Check Statements
2904
2904
// ------------------------------------------------------------------------------
2905
2905
2906
2906
ERROR(jump_out_of_defer,none,
@@ -3039,7 +3039,7 @@ ERROR(trailing_closure_requires_parens,none,
3039
3039
" context" , ())
3040
3040
3041
3041
// ------------------------------------------------------------------------------
3042
- // Type Check Patterns
3042
+ // MARK: Type Check Patterns
3043
3043
// ------------------------------------------------------------------------------
3044
3044
3045
3045
ERROR(cannot_infer_type_for_pattern,none,
@@ -3126,7 +3126,7 @@ WARNING(swift3_ignore_specialized_enum_element_call,none,
3126
3126
" which will be rejected in future version of Swift" , ())
3127
3127
3128
3128
// ------------------------------------------------------------------------------
3129
- // Error-handling diagnostics
3129
+ // MARK: Error-handling diagnostics
3130
3130
// ------------------------------------------------------------------------------
3131
3131
3132
3132
@@ -3202,7 +3202,7 @@ WARNING(no_throw_in_do_with_catch,none,
3202
3202
" 'catch' block is unreachable because no errors are thrown in 'do' block" , ())
3203
3203
3204
3204
// ------------------------------------------------------------------------------
3205
- // Type Check Types
3205
+ // MARK: Type Check Types
3206
3206
// ------------------------------------------------------------------------------
3207
3207
3208
3208
ERROR(unsupported_recursive_struct,none,
@@ -3360,7 +3360,7 @@ ERROR(sil_metatype_multiple_reprs,none,
3360
3360
())
3361
3361
3362
3362
// ------------------------------------------------------------------------------
3363
- // @objc and @nonobjc
3363
+ // MARK: @objc and @nonobjc
3364
3364
// ------------------------------------------------------------------------------
3365
3365
3366
3366
ERROR(objc_interop_disabled,none,
@@ -3662,7 +3662,7 @@ ERROR(nonobjc_not_allowed,none,
3662
3662
#undef OBJC_ATTR_SELECT
3663
3663
3664
3664
// ------------------------------------------------------------------------------
3665
- // dynamic
3665
+ // MARK: dynamic
3666
3666
// ------------------------------------------------------------------------------
3667
3667
3668
3668
ERROR (dynamic_not_in_class,none,
@@ -3678,7 +3678,7 @@ ERROR(dynamic_requires_objc,none,
3678
3678
(DescriptiveDeclKind, DeclName))
3679
3679
3680
3680
// ------------------------------------------------------------------------------
3681
- // @available
3681
+ // MARK: @available
3682
3682
// ------------------------------------------------------------------------------
3683
3683
3684
3684
ERROR(availability_decl_unavailable, none,
@@ -3803,15 +3803,15 @@ ERROR(availabilty_string_subscript_migration, none,
3803
3803
" subscripts returning String were obsoleted in Swift 4; explicitly construct a String from subscripted result" , ())
3804
3804
3805
3805
// ------------------------------------------------------------------------------
3806
- // @discardableResult
3806
+ // MARK: @discardableResult
3807
3807
// ------------------------------------------------------------------------------
3808
3808
3809
3809
WARNING(discardable_result_on_void_never_function, none,
3810
3810
" @discardableResult declared on a function returning %select{Never|Void}0 is unnecessary" ,
3811
3811
(bool ))
3812
3812
3813
3813
// ------------------------------------------------------------------------------
3814
- // Resilience diagnostics
3814
+ // MARK: Resilience diagnostics
3815
3815
// ------------------------------------------------------------------------------
3816
3816
3817
3817
ERROR(fixed_layout_attr_on_internal_type,
@@ -3875,7 +3875,7 @@ ERROR(inlinable_decl_not_public,
3875
3875
(DeclBaseName, AccessLevel))
3876
3876
3877
3877
// ------------------------------------------------------------------------------
3878
- // @_specialize diagnostics
3878
+ // MARK: @_specialize diagnostics
3879
3879
// ------------------------------------------------------------------------------
3880
3880
3881
3881
ERROR(specialize_attr_nongeneric_trailing_where,none,
@@ -3904,7 +3904,7 @@ ERROR(specialize_attr_unsupported_kind_of_req,none,
3904
3904
" Only same-type and layout requirements are supported by '_specialize' attribute" , ())
3905
3905
3906
3906
// ------------------------------------------------------------------------------
3907
- // Variable usage diagnostics
3907
+ // MARK: Variable usage diagnostics
3908
3908
// ------------------------------------------------------------------------------
3909
3909
3910
3910
WARNING(pbd_never_used_stmtcond, none,
@@ -3944,7 +3944,7 @@ WARNING(variable_never_read, none,
3944
3944
(Identifier, unsigned ))
3945
3945
3946
3946
// ------------------------------------------------------------------------------
3947
- // Circular reference diagnostics
3947
+ // MARK: Circular reference diagnostics
3948
3948
// ------------------------------------------------------------------------------
3949
3949
ERROR(circular_reference, none,
3950
3950
" circular reference" , ())
@@ -3956,7 +3956,7 @@ NOTE(circular_reference_through, none,
3956
3956
" through reference here" , ())
3957
3957
3958
3958
// ------------------------------------------------------------------------------
3959
- // Debug diagnostics
3959
+ // MARK: Debug diagnostics
3960
3960
// ------------------------------------------------------------------------------
3961
3961
3962
3962
WARNING(debug_long_function_body, none,
@@ -3970,7 +3970,7 @@ WARNING(debug_long_expression, none,
3970
3970
(unsigned , unsigned ))
3971
3971
3972
3972
// ------------------------------------------------------------------------------
3973
- // Pattern match diagnostics
3973
+ // MARK: Pattern match diagnostics
3974
3974
// ------------------------------------------------------------------------------
3975
3975
3976
3976
0 commit comments