opts-diagnostic.h 953 B

12345678910111213141516171819202122232425
  1. /* Command line option handling. Interactions with diagnostics code.
  2. Copyright (C) 2010-2019 Free Software Foundation, Inc.
  3. This file is part of GCC.
  4. GCC is free software; you can redistribute it and/or modify it under
  5. the terms of the GNU General Public License as published by the Free
  6. Software Foundation; either version 3, or (at your option) any later
  7. version.
  8. GCC is distributed in the hope that it will be useful, but WITHOUT ANY
  9. WARRANTY; without even the implied warranty of MERCHANTABILITY or
  10. FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
  11. for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with GCC; see the file COPYING3. If not see
  14. <http://www.gnu.org/licenses/>. */
  15. #ifndef GCC_OPTS_DIAGNOSTIC_H
  16. #define GCC_OPTS_DIAGNOSTIC_H
  17. extern char *option_name (diagnostic_context *context, int option_index,
  18. diagnostic_t orig_diag_kind, diagnostic_t diag_kind);
  19. #endif