Skip to content

Commit 420d7d0

Browse files
authored
Update DiagnosticSemaKinds.td
added functions for lambda campture
1 parent 41adf62 commit 420d7d0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

clang/include/clang/Basic/DiagnosticSemaKinds.td

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@ def note_replace_abs_function : Note<"use function '%0' instead">;
5050
def warn_pointer_abs : Warning<
5151
"taking the absolute value of %select{pointer|function|array}0 type %1 is suspicious">,
5252
InGroup<AbsoluteValue>;
53+
54+
def err_invalid_lambda_capture_initializer_type : Error<
55+
"invalid initializer type for lambda capture">;
56+
def err_expected_identifier_for_lambda_capture : Error<
57+
"expected identifier for lambda capture">;
5358

5459
def warn_max_unsigned_zero : Warning<
5560
"taking the max of "

0 commit comments

Comments
 (0)