diff options
author | David Malcolm <dmalcolm@redhat.com> | 2022-11-03 13:47:01 -0400 |
---|---|---|
committer | David Malcolm <dmalcolm@redhat.com> | 2022-11-03 13:47:01 -0400 |
commit | ca5ff10546e612eff3d5e225b62b44ddf656cfbf (patch) | |
tree | 6b555bcf2bfacdc0c38eeea91a1e442d9fbd64e7 /gcc/c | |
parent | 2a9b395b1e4542c79b250b756346816a9b72d859 (diff) | |
download | gcc-ca5ff10546e612eff3d5e225b62b44ddf656cfbf.zip gcc-ca5ff10546e612eff3d5e225b62b44ddf656cfbf.tar.gz gcc-ca5ff10546e612eff3d5e225b62b44ddf656cfbf.tar.bz2 |
analyzer: use std::unique_ptr for custom_edge_info pointers
gcc/analyzer/ChangeLog:
* checker-path.cc (rewind_event::rewind_event): Update for usage of
std::unique_ptr on custom_edge_info.
* engine.cc (exploded_node::on_longjmp): Likewise.
(exploded_edge::exploded_edge): Likewise.
(exploded_edge::~exploded_edge): Delete.
(exploded_graph::add_function_entry): Update for usage of
std::unique_ptr on custom_edge_info.
(exploded_graph::add_edge): Likewise.
(add_tainted_args_callback): Likewise.
(exploded_graph::maybe_create_dynamic_call): Likewise.
(exploded_graph::process_node): Likewise.
* exploded-graph.h (exploded_edge::~exploded_edge): Delete.
(exploded_edge::m_custom_info): Use std::unique_ptr.
(exploded_edge::add_edge): Likewise.
* sm-signal.cc (register_signal_handler::impl_transition): Use
make_unique.
Signed-off-by: David Malcolm <dmalcolm@redhat.com>
Diffstat (limited to 'gcc/c')
0 files changed, 0 insertions, 0 deletions