Deleted Added
full compact
c-opts.c (259405) c-opts.c (259890)
1/* C/ObjC/C++ command line option handling.
2 Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007
3 Free Software Foundation, Inc.
4 Contributed by Neil Booth.
5
6This file is part of GCC.
7
8GCC is free software; you can redistribute it and/or modify it under

--- 6 unchanged lines hidden (view full) ---

15FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16for more details.
17
18You should have received a copy of the GNU General Public License
19along with GCC; see the file COPYING. If not, write to the Free
20Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
2102110-1301, USA. */
22
1/* C/ObjC/C++ command line option handling.
2 Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007
3 Free Software Foundation, Inc.
4 Contributed by Neil Booth.
5
6This file is part of GCC.
7
8GCC is free software; you can redistribute it and/or modify it under

--- 6 unchanged lines hidden (view full) ---

15FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16for more details.
17
18You should have received a copy of the GNU General Public License
19along with GCC; see the file COPYING. If not, write to the Free
20Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
2102110-1301, USA. */
22
23/* $FreeBSD: stable/10/contrib/gcc/c-opts.c 259405 2013-12-15 03:47:31Z pfg $ */
23/* $FreeBSD: stable/10/contrib/gcc/c-opts.c 259890 2013-12-25 21:59:56Z pfg $ */
24/* Merged C99 inline changes from gcc trunk 122565 2007-03-05 */
25
26#include "config.h"
27#include "system.h"
28#include "coretypes.h"
29#include "tm.h"
30#include "tree.h"
31#include "c-common.h"

--- 450 unchanged lines hidden (view full) ---

482 case OPT_Wmissing_include_dirs:
483 cpp_opts->warn_missing_include_dirs = value;
484 break;
485
486 case OPT_Wmultichar:
487 cpp_opts->warn_multichar = value;
488 break;
489
24/* Merged C99 inline changes from gcc trunk 122565 2007-03-05 */
25
26#include "config.h"
27#include "system.h"
28#include "coretypes.h"
29#include "tm.h"
30#include "tree.h"
31#include "c-common.h"

--- 450 unchanged lines hidden (view full) ---

482 case OPT_Wmissing_include_dirs:
483 cpp_opts->warn_missing_include_dirs = value;
484 break;
485
486 case OPT_Wmultichar:
487 cpp_opts->warn_multichar = value;
488 break;
489
490 /* APPLE LOCAL begin -Wnewline-eof */
491 case OPT_Wnewline_eof:
492 cpp_opts->warn_newline_at_eof = value;
493 break;
494 /* APPLE LOCAL end -Wnewline-eof */
495
490 case OPT_Wnormalized_:
491 if (!value || (arg && strcasecmp (arg, "none") == 0))
492 cpp_opts->warn_normalize = normalized_none;
493 else if (!arg || strcasecmp (arg, "nfkc") == 0)
494 cpp_opts->warn_normalize = normalized_KC;
495 else if (strcasecmp (arg, "id") == 0)
496 cpp_opts->warn_normalize = normalized_identifier_C;
497 else if (strcasecmp (arg, "nfc") == 0)

--- 1092 unchanged lines hidden ---
496 case OPT_Wnormalized_:
497 if (!value || (arg && strcasecmp (arg, "none") == 0))
498 cpp_opts->warn_normalize = normalized_none;
499 else if (!arg || strcasecmp (arg, "nfkc") == 0)
500 cpp_opts->warn_normalize = normalized_KC;
501 else if (strcasecmp (arg, "id") == 0)
502 cpp_opts->warn_normalize = normalized_identifier_C;
503 else if (strcasecmp (arg, "nfc") == 0)

--- 1092 unchanged lines hidden ---