diff options
author | Immad Mir <mirimmad@outlook.com> | 2022-07-06 21:35:53 +0530 |
---|---|---|
committer | Immad Mir <mirimmad@outlook.com> | 2022-07-06 21:36:07 +0530 |
commit | 71c05bb8e2b7585f459b702cc1b55efe9892cc3d (patch) | |
tree | f463516cede2a13a153b69b3cf4e8d2a53123a10 /libphobos/libdruntime | |
parent | 9e0d5db3e04afd2d030ace4ccb5c1af5e9f05a8f (diff) | |
download | gcc-71c05bb8e2b7585f459b702cc1b55efe9892cc3d.zip gcc-71c05bb8e2b7585f459b702cc1b55efe9892cc3d.tar.gz gcc-71c05bb8e2b7585f459b702cc1b55efe9892cc3d.tar.bz2 |
analyzer: show close event for use_after_close diagnostic
This patch saves the "close" event in use_after_close diagnostic
and shows it where possible.
gcc/analyzer/ChangeLog:
* sm-fd.cc (use_after_close): save the "close" event and
show it where possible.
gcc/testsuite/ChangeLog:
* gcc.dg/analyzer/fd-4.c (test_3): change the message note to conform to the
changes in analyzer/sm-fd.cc
(test_4): Likewise.
Signed-off-by: Immad Mir <mirimmad@outlook.com>
Diffstat (limited to 'libphobos/libdruntime')
0 files changed, 0 insertions, 0 deletions