gcc/ChangeLog:
* diagnostic.h (diagnostic_context::m_opt_permissive): Convert
from int to diagnostic_option_id. Update comment.
Signed-off-by: David Malcolm <dmalcolm@redhat.com>
/* True if permerrors are warnings. */
bool m_permissive;
- /* The index of the option to associate with turning permerrors into
- warnings. */
- int m_opt_permissive;
+ /* The option to associate with turning permerrors into warnings,
+ if any. */
+ diagnostic_option_id m_opt_permissive;
/* True if errors are fatal. */
bool m_fatal_errors;