Skip to content

Commit 66190af

Browse files
committed
[Clang] ReleaseNote item for 9dab2e3
Add release item which was omitted at the time.
1 parent 1cb64d7 commit 66190af

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

clang/docs/ReleaseNotes.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,9 @@ Improvements to Clang's diagnostics
334334
- Clang now emits ``unused argument`` warning when the -fmodule-output flag is used
335335
with an input that is not of type c++-module.
336336

337+
- Clang emits a ``-Wreturn-stack-address`` warning if a function returns a pointer or
338+
reference to a struct literal. Fixes #GH8678
339+
337340
- Clang emits a ``-Wunused-but-set-variable`` warning on C++ variables whose declaration
338341
(with initializer) entirely consist the condition expression of a if/while/for construct
339342
but are not actually used in the body of the if/while/for construct. Fixes #GH41447

0 commit comments

Comments
 (0)