Skip to content

Commit

Permalink
[Clang] Format diagnostic message in 7ed3c29 with community convention.
Browse files Browse the repository at this point in the history
  • Loading branch information
tianqingw authored and sys-ce-bb committed Jun 25, 2024
1 parent 4759a3a commit dadc1ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/include/clang/Basic/DiagnosticSemaKinds.td
Original file line number Diff line number Diff line change
Expand Up @@ -8324,7 +8324,7 @@ let CategoryName = "Lambda Issue" in {
"implicit capture of 'this' is not allowed for kernel functions. "
"Either ensure the object is allocated in the memory available "
"on the device (e.g., shared USM memory) and capture it explicitly "
"or consider capturing the current object by copy ([*this]).">;
"or consider capturing the current object by copy ([*this])">;
def err_lambda_member_access : Error<
"invalid attempt to access member of lambda">;

Expand Down

0 comments on commit dadc1ff

Please sign in to comment.