Language-independent APIs to enable/disable per-location warnings.
Copyright (C) 2021-2024 Free Software Foundation, Inc.
Contributed by Martin Sebor <msebor@redhat.com>
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 3, or (at your option) any later
version.
GCC is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>.
A "bitset" of warning groups.
nowarn_spec_t::nowarn_spec_t |
( |
opt_code | opt | ) |
|
Functions to enable and disable individual warnings on an expression
and statement basis.
Copyright (C) 2021-2024 Free Software Foundation, Inc.
Contributed by Martin Sebor <msebor@redhat.com>
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 3, or (at your option) any later
version.
GCC is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>.
Initialize *THIS from warning option OPT.
References all_warnings, m_bits, no_warning, NW_ACCESS, NW_DANGLING, NW_LEXICAL, NW_NONNULL, NW_OTHER, NW_REDUNDANT, NW_UNINIT, and NW_VFLOW.