Move diagnostic_show_locus and friends out into a new source file
authorDavid Malcolm <dmalcolm@redhat.com>
Fri, 18 Sep 2015 18:27:44 +0000 (18:27 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Fri, 18 Sep 2015 18:27:44 +0000 (18:27 +0000)
commit57eb2d70a6b5e70c2bb3635d88974983b1ecf9e2
tree8eca66b6e10f1f96b3d49a6713fb5c38b0ba88f4
parent54f0c25b302b081f8fa90766586a684325cb6102
Move diagnostic_show_locus and friends out into a new source file

gcc/ChangeLog:
* Makefile.in (OBJS-libcommon): Add diagnostic-show-locus.o.
* diagnostic.c (adjust_line): Move to diagnostic-show-locus.c.
(diagnostic_show_locus): Likewise.
(diagnostic_print_caret_line): Likewise.
* diagnostic-show-locus.c: New file.

From-SVN: r227915
gcc/ChangeLog
gcc/Makefile.in
gcc/diagnostic-show-locus.c [new file with mode: 0644]
gcc/diagnostic.c