@@ -45,11 +45,6 @@ NOTE(decl_declared_here,none,
45
45
NOTE(extended_type_declared_here,none,
46
46
" extended type declared here" , ())
47
47
48
- NOTE(while_converting_default_tuple_value,none,
49
- " while converting default tuple value to element type %0" , (Type))
50
- NOTE(while_converting_subscript_index,none,
51
- " while converting subscript index to expected type %0" , (Type))
52
-
53
48
// ------------------------------------------------------------------------------
54
49
// Constraint solver diagnostics
55
50
// ------------------------------------------------------------------------------
@@ -915,8 +910,6 @@ ERROR(c_function_pointer_from_function_with_context,none,
915
910
" %select{local function|closure}0 that captures "
916
911
" %select{context|generic parameters|dynamic Self type}1" ,
917
912
(bool , unsigned ))
918
- NOTE(c_function_pointer_captures_here,none,
919
- " %0 captured here" , (Identifier))
920
913
921
914
// ------------------------------------------------------------------------------
922
915
// Type Check Declarations
@@ -1508,18 +1501,13 @@ NOTE(declared_protocol_conformance_here,none,
1508
1501
1509
1502
ERROR(redundant_conformance,none,
1510
1503
" redundant conformance of %0 to protocol %1" , (Type, DeclName))
1511
- NOTE(protocol_conformance_implied_here,none,
1512
- " implied protocol conformance %0 here can be made explicit" , (Identifier))
1513
1504
1514
1505
// "Near matches"
1515
1506
WARNING(optional_req_near_match,none,
1516
1507
" %0 %1 nearly matches optional requirement %2 of protocol %3" ,
1517
1508
(DescriptiveDeclKind, DeclName, DeclName, DeclName))
1518
1509
NOTE(optional_req_nonobjc_near_match_add_objc,none,
1519
1510
" add '@objc' to provide an Objective-C entrypoint" , ())
1520
- NOTE(optional_req_nonobjc_to_objc,none,
1521
- " rename to %0 to satisfy this requirement" ,
1522
- (DeclName))
1523
1511
NOTE(optional_req_near_match_move,none,
1524
1512
" move %0 to %select{an|another}1 extension to silence this warning" ,
1525
1513
(DeclName, unsigned ))
@@ -1775,8 +1763,6 @@ ERROR(decl_already_final,none,
1775
1763
" static declarations are already final" , ())
1776
1764
ERROR(open_decl_cannot_be_final,none,
1777
1765
" %0 cannot be declared both 'final' and 'open'" , (DescriptiveDeclKind))
1778
- NOTE(decl_init_here,none,
1779
- " initial value is here" , ())
1780
1766
1781
1767
1782
1768
// Inheritance
@@ -2069,9 +2055,6 @@ ERROR(nscopying_doesnt_conform,none,
2069
2055
#define SELECT_APPLICATION_MAIN " select{'UIApplicationMain'|'NSApplicationMain'}"
2070
2056
#define SELECT_APPLICATION_DELEGATE " select{'UIApplicationDelegate'|'NSApplicationDelegate'}"
2071
2057
2072
- ERROR (attr_ApplicationMain_not_class,none,
2073
- " %" SELECT_APPLICATION_MAIN " 0 attribute may only be used on classes" ,
2074
- (unsigned ))
2075
2058
ERROR (attr_ApplicationMain_not_ApplicationDelegate,none,
2076
2059
" %" SELECT_APPLICATION_MAIN " 0 class must conform to the %" SELECT_APPLICATION_DELEGATE " 0 protocol" ,
2077
2060
(unsigned ))
@@ -2125,17 +2108,7 @@ NOTE(found_candidate,none,
2125
2108
" found this candidate" , ())
2126
2109
NOTE(found_candidate_type,none,
2127
2110
" found candidate with type %0" , (Type))
2128
- NOTE(first_declaration,none,
2129
- " first declaration" , ())
2130
- NOTE(second_declaration,none,
2131
- " second declaration" , ())
2132
-
2133
- ERROR(no_IntegerLiteralType_found,none,
2134
- " standard library error: IntegerLiteralType not defined" , ())
2135
- ERROR(no_FloatLiteralType_found,none,
2136
- " standard library error: FloatLiteralType not defined" , ())
2137
- ERROR(no_StringLiteralType_found,none,
2138
- " standard library error: StringLiteralType not defined" , ())
2111
+
2139
2112
ERROR(no_MaxBuiltinIntegerType_found,none,
2140
2113
" standard library error: _MaxBuiltinIntegerType is not properly defined" , ())
2141
2114
ERROR(no_MaxBuiltinFloatType_found,none,
@@ -2241,9 +2214,6 @@ ERROR(try_assign_rhs_noncovering,none,
2241
2214
" '" TRY_KIND_SELECT(0 ) "' following assignment operator does not cover "
2242
2215
"everything to its right", (unsigned ))
2243
2216
2244
- NOTE(subscript_decl_here,none,
2245
- " subscript operator declared here" , ())
2246
-
2247
2217
ERROR(broken_bool,none, " type 'Bool' is broken" , ())
2248
2218
2249
2219
WARNING(inject_forced_downcast,none,
@@ -3465,10 +3435,6 @@ WARNING(variable_never_read, none,
3465
3435
" %select{variable|parameter}1 %0 was written to, but never read" ,
3466
3436
(Identifier, unsigned ))
3467
3437
3468
- WARNING(extraneous_default_args_in_call, none,
3469
- " call to %0 has extraneous arguments that could use defaults" ,
3470
- (DeclName))
3471
-
3472
3438
// ------------------------------------------------------------------------------
3473
3439
// Circular reference diagnostics
3474
3440
// ------------------------------------------------------------------------------
0 commit comments