@@ -55,65 +55,8 @@ def warn_pointer_abs : Warning<
5555
5656def err_invalid_lambda_capture_initializer_type : Error<
5757 "invalid initializer type for lambda capture">;
58-
5958def err_expected_identifier_for_lambda_capture : Error<
6059 "expected identifier for lambda capture">;
61-
62- def err_lambda_capture_unsupported_type : Error<
63- "unsupported type %0 for lambda capture initializer">;
64-
65- def err_lambda_capture_uninitialized : Error<
66- "lambda capture '%0' must be initialized">;
67-
68- def err_lambda_capture_invalid_expression : Error<
69- "invalid expression for initializing lambda capture '%0'">;
70-
71- def note_lambda_capture_here : Note<
72- "lambda capture '%0' declared here">;
73-
74- def err_lambda_capture_multiple_initializers : Error<
75- "lambda capture '%0' has multiple initializers">;
76-
77- def note_possible_fix_lambda_initializer : Note<
78- "consider initializing lambda capture '%0' with a valid expression">;
79-
80- def err_lambda_capture_invalid_syntax : Error<
81- "syntax error in lambda capture list">;
82-
83- def warn_lambda_capture_unused : Warning<
84- "lambda capture '%0' is unused">, InGroup<UnusedLambdaCapture>, DefaultIgnore;
85-
86- def err_pack_expansion_mismatch : Error<
87- "parameter pack expansion does not match expected type for lambda capture">;
88-
89- def err_unsupported_lambda_capture_no_init : Error<
90- "lambda capture without initializer is not supported">;
91-
92- def note_lambda_capture_copy_init : Note<
93- "lambda capture uses copy initialization">;
94-
95- def note_lambda_capture_direct_init : Note<
96- "lambda capture uses direct initialization">;
97-
98- def note_lambda_capture_list_init : Note<
99- "lambda capture uses list initialization">;
100-
101- // New Additions for Improved Diagnostics
102-
103- def err_lambda_capture_unsupported_template : Error<
104- "lambda capture cannot capture template types directly">;
105-
106- def err_lambda_capture_missing_type_specifier : Error<
107- "missing type specifier in lambda capture initializer">;
108-
109- def err_lambda_capture_must_be_constexpr : Error<
110- "lambda capture initializer must be a constexpr expression">;
111-
112- def note_lambda_capture_default_value : Note<
113- "default value used for lambda capture '%0'">;
114-
115- def warn_lambda_capture_may_be_unused : Warning<
116- "lambda capture '%0' might be unused">, InGroup<UnusedLambdaCapture>, DefaultIgnore;
11760
11861def warn_max_unsigned_zero : Warning<
11962 "taking the max of "
0 commit comments