diff options
author | David Malcolm <dmalcolm@redhat.com> | 2025-07-25 15:13:43 -0400 |
---|---|---|
committer | David Malcolm <dmalcolm@redhat.com> | 2025-07-25 15:13:43 -0400 |
commit | 8d9d9515f5db9bab758e484f3956033150931de5 (patch) | |
tree | 169e45d3708609d4abe32c04bc010731d9fdc833 /gcc/tree-ssa-loop-prefetch.cc | |
parent | 3cc27ed5b6fb4253d3fe2139dcc6295e85372a3a (diff) | |
download | gcc-8d9d9515f5db9bab758e484f3956033150931de5.zip gcc-8d9d9515f5db9bab758e484f3956033150931de5.tar.gz gcc-8d9d9515f5db9bab758e484f3956033150931de5.tar.bz2 |
diagnostics: move diagnostic.c to diagnostics/context.cc
No functional change intended.
gcc/ChangeLog:
* Makefile.in (OBJS-libcommon): Replace diagnostic.o with
diagnostics/context.o.
gcc/c-family/ChangeLog:
* c-common.cc (c_family_tests): Add include of
"diagnostics/diagnostics-selftests.h". Replace
c_diagnostic_cc_tests with
diagnostics::selftest::context_cc_tests.
* c-common.h: Drop c_diagnostic_cc_tests decl.
gcc/ChangeLog:
* diagnostic.h (num_digits): Move to...
(diagnostics::num_digits): ...here.
(get_cwe_url): Move to...
(diagnostics::get_cwe_url): ...here.
(maybe_line_and_column): Move to...
(diagnostics::maybe_line_and_column): ...here.
* diagnostic.cc: Move to...
* diagnostics/context.cc: ...here.
* diagnostics/diagnostics-selftests.cc
(run_diagnostics_selftests): Add comment about context_cc_tests.
* diagnostics/diagnostics-selftests.h: Add context_cc_tests decl.
* diagnostics/sarif-sink.cc: Update for file rename.
* diagnostics/source-printing.cc: Update for num_digits moving to
diagnostics::num_digits.
* errors.cc: Update for file rename.
* input.cc: Update for num_digits moving to
diagnostics::num_digits.
libcpp/ChangeLog:
* charset.cc: Update comment for file rename.
Signed-off-by: David Malcolm <dmalcolm@redhat.com>
Diffstat (limited to 'gcc/tree-ssa-loop-prefetch.cc')
0 files changed, 0 insertions, 0 deletions