diff options
author | David Malcolm <dmalcolm@redhat.com> | 2017-05-05 20:51:18 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2017-05-05 20:51:18 +0000 |
commit | dc41c9b07d3da5456df2fd11ed89be084afa55ed (patch) | |
tree | 1d806129b966e092e1dc6fa4b30cee8efe4a152d /gcc/c/c-errors.c | |
parent | 822856928407e34bc10f2aa7d00bc6149b43d7f8 (diff) | |
download | gcc-dc41c9b07d3da5456df2fd11ed89be084afa55ed.zip gcc-dc41c9b07d3da5456df2fd11ed89be084afa55ed.tar.gz gcc-dc41c9b07d3da5456df2fd11ed89be084afa55ed.tar.bz2 |
diagnostic_report_diagnostic: refactor pragma-handling
This patch simplifies diagnostic_report_diagnostic by moving the
pragma-handling logic into a subroutine.
No functional change intended.
gcc/ChangeLog:
* diagnostic.c (diagnostic_report_diagnostic): Split out pragma
handling logic into...
(update_effective_level_from_pragmas): ...this new function.
From-SVN: r247660
Diffstat (limited to 'gcc/c/c-errors.c')
0 files changed, 0 insertions, 0 deletions