Skip to content

Commit fc7f051

Browse files
committed
Make the release note more concise
1 parent 59f7dbd commit fc7f051

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/docs/ReleaseNotes.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -416,8 +416,8 @@ Improvements to Clang's diagnostics
416416
name was a reserved name, which we improperly allowed to suppress the
417417
diagnostic.
418418

419-
- Clang now includes the return type of the function or constructor in the warning generated
420-
when `[[nodiscard]]` is triggered by its placement on return types instead of function itself.
419+
- When diagnosing an unused return value of a type declared ``[[nodiscard]]``, the type
420+
itself is now included in the diagnostic.
421421

422422
Improvements to Clang's time-trace
423423
----------------------------------

0 commit comments

Comments
 (0)