diff options
author | David Malcolm <dmalcolm@redhat.com> | 2022-11-23 20:43:32 -0500 |
---|---|---|
committer | David Malcolm <dmalcolm@redhat.com> | 2022-11-23 20:43:32 -0500 |
commit | 50d5b240424d2b16ecd8563f64de04a38296efb8 (patch) | |
tree | 18828ef4eec9db7f7d1a077398d299c773e406fa /gcc/gimple-array-bounds.cc | |
parent | 8caf155a3d6e23e47bf55068ad23c23d4655a054 (diff) | |
download | gcc-50d5b240424d2b16ecd8563f64de04a38296efb8.zip gcc-50d5b240424d2b16ecd8563f64de04a38296efb8.tar.gz gcc-50d5b240424d2b16ecd8563f64de04a38296efb8.tar.bz2 |
analyzer: move known funs for fds to sm-fd.cc
This mostly mechanical change enables a simplification in the
followup patch. No functional change intended.
gcc/analyzer/ChangeLog:
* analyzer.h (register_known_fd_functions): New decl.
* region-model-impl-calls.cc (class kf_accept): Move to sm-fd.cc.
(class kf_bind): Likewise.
(class kf_connect): Likewise.
(class kf_listen): Likewise.
(class kf_pipe): Likewise.
(class kf_socket): Likewise.
(register_known_functions): Remove registration of the above
functions, instead calling register_known_fd_functions.
* sm-fd.cc: Include "analyzer/call-info.h".
(class kf_socket): Move here from region-model-impl-calls.cc.
(class kf_bind): Likewise.
(class kf_listen): Likewise.
(class kf_accept): Likewise.
(class kf_connect): Likewise.
(class kf_pipe): Likewise.
(register_known_fd_functions): New.
Signed-off-by: David Malcolm <dmalcolm@redhat.com>
Diffstat (limited to 'gcc/gimple-array-bounds.cc')
0 files changed, 0 insertions, 0 deletions