diff options
author | David Malcolm <dmalcolm@redhat.com> | 2025-07-25 15:13:44 -0400 |
---|---|---|
committer | David Malcolm <dmalcolm@redhat.com> | 2025-07-25 15:13:44 -0400 |
commit | 14280a1342e60e6e4d553ac565c69e4f5d90ebff (patch) | |
tree | 237ed58019ef49a16566ad67dc026c0425f47eb6 /gcc | |
parent | 84c4bf5a00541481711ed1f0723e822f3396cd6b (diff) | |
download | gcc-14280a1342e60e6e4d553ac565c69e4f5d90ebff.zip gcc-14280a1342e60e6e4d553ac565c69e4f5d90ebff.tar.gz gcc-14280a1342e60e6e4d553ac565c69e4f5d90ebff.tar.bz2 |
diagnostics: eliminate some redundant includes
No functional change intended.
gcc/ChangeLog:
* diagnostics/selftest-paths.cc: Don't include "demangle.h"
and "backtrace.h".
* diagnostics/source-printing.cc: Likewise.
* diagnostics/state-graphs.cc: Don't include "graphviz.h",
"xml.h", "xml-printer.h", or "intl.h".
Signed-off-by: David Malcolm <dmalcolm@redhat.com>
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/diagnostics/selftest-paths.cc | 2 | ||||
-rw-r--r-- | gcc/diagnostics/source-printing.cc | 2 | ||||
-rw-r--r-- | gcc/diagnostics/state-graphs.cc | 4 |
3 files changed, 0 insertions, 8 deletions
diff --git a/gcc/diagnostics/selftest-paths.cc b/gcc/diagnostics/selftest-paths.cc index f9045c7..56ce7ff 100644 --- a/gcc/diagnostics/selftest-paths.cc +++ b/gcc/diagnostics/selftest-paths.cc @@ -24,8 +24,6 @@ along with GCC; see the file COPYING3. If not see #include "system.h" #include "coretypes.h" #include "version.h" -#include "demangle.h" -#include "backtrace.h" #include "diagnostic.h" #include "diagnostics/selftest-paths.h" diff --git a/gcc/diagnostics/source-printing.cc b/gcc/diagnostics/source-printing.cc index a2d6bd7..ec26fa6 100644 --- a/gcc/diagnostics/source-printing.cc +++ b/gcc/diagnostics/source-printing.cc @@ -25,9 +25,7 @@ along with GCC; see the file COPYING3. If not see #include "system.h" #include "coretypes.h" #include "version.h" -#include "demangle.h" #include "intl.h" -#include "backtrace.h" #include "diagnostic.h" #include "diagnostics/color.h" #include "gcc-rich-location.h" diff --git a/gcc/diagnostics/state-graphs.cc b/gcc/diagnostics/state-graphs.cc index 83f3532..5941c41 100644 --- a/gcc/diagnostics/state-graphs.cc +++ b/gcc/diagnostics/state-graphs.cc @@ -28,10 +28,6 @@ along with GCC; see the file COPYING3. If not see #include "coretypes.h" #include "diagnostics/state-graphs.h" -#include "graphviz.h" -#include "xml.h" -#include "xml-printer.h" -#include "intl.h" #include "selftest.h" using namespace diagnostics::state_graphs; |