From: Alp Toker Date: Mon, 9 Dec 2013 14:34:53 +0000 (+0000) Subject: Remove old -fdiagnostics-show-name option X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b3efbd3b28b9abfb32ccc36c1a831e04226512d7;p=clang Remove old -fdiagnostics-show-name option This had no effect since the feature was removed in r150612. I actually miss this option, maybe we can bring it back some day. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196782 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/UsersManual.rst b/docs/UsersManual.rst index e0a68384ad..ce2c7ab1b9 100644 --- a/docs/UsersManual.rst +++ b/docs/UsersManual.rst @@ -265,11 +265,6 @@ output format of the diagnostics that it generates. t.c +3:11: warning: conversion specifies type 'char *' but the argument has type 'int' -**-f[no-]diagnostics-show-name** - Enable the display of the diagnostic name. - This option, which defaults to off, controls whether or not Clang - prints the associated name. - .. _opt_fdiagnostics-show-option: **-f[no-]diagnostics-show-option** diff --git a/include/clang/Driver/Options.td b/include/clang/Driver/Options.td index 63e9235c0d..2281777de3 100644 --- a/include/clang/Driver/Options.td +++ b/include/clang/Driver/Options.td @@ -419,8 +419,6 @@ def fdiagnostics_print_source_range_info : Flag<["-"], "fdiagnostics-print-sourc HelpText<"Print source range spans in numeric form">; def fdiagnostics_show_option : Flag<["-"], "fdiagnostics-show-option">, Group, Flags<[CC1Option]>, HelpText<"Print option name with mappable diagnostics">; -def fdiagnostics_show_name : Flag<["-"], "fdiagnostics-show-name">, Group, - Flags<[CC1Option]>, HelpText<"Print diagnostic name">; def fdiagnostics_show_note_include_stack : Flag<["-"], "fdiagnostics-show-note-include-stack">, Group, Flags<[CC1Option]>, HelpText<"Display include stacks for diagnostic notes">; def fdiagnostics_format_EQ : Joined<["-"], "fdiagnostics-format=">, Group; @@ -629,7 +627,6 @@ def fno_cxx_modules : Flag <["-"], "fno-cxx-modules">, Group, Flags<[DriverOption]>; def fno_diagnostics_fixit_info : Flag<["-"], "fno-diagnostics-fixit-info">, Group, Flags<[CC1Option]>, HelpText<"Do not include fixit information in diagnostics">; -def fno_diagnostics_show_name : Flag<["-"], "fno-diagnostics-show-name">, Group; def fno_diagnostics_show_option : Flag<["-"], "fno-diagnostics-show-option">, Group; def fno_diagnostics_show_note_include_stack : Flag<["-"], "fno-diagnostics-show-note-include-stack">, Flags<[CC1Option]>, Group;