We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59f7dbd commit fc7f051Copy full SHA for fc7f051
clang/docs/ReleaseNotes.rst
@@ -416,8 +416,8 @@ Improvements to Clang's diagnostics
416
name was a reserved name, which we improperly allowed to suppress the
417
diagnostic.
418
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.
+- When diagnosing an unused return value of a type declared ``[[nodiscard]]``, the type
+ itself is now included in the diagnostic.
421
422
Improvements to Clang's time-trace
423
----------------------------------
0 commit comments