diff options
author | David Blaikie <dblaikie@gmail.com> | 2012-02-15 19:45:34 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2012-02-15 19:45:34 +0000 |
commit | 040a3a28f1581e99afecfa462f38a70b7007df06 (patch) | |
tree | c62c144d2d2c271455c69304abc289fb500eadbc /clang/lib/Driver/Tools.cpp | |
parent | 74f7d50f6a5b2f74bb63bedae2d32590b8f594ce (diff) | |
download | bcm5719-llvm-040a3a28f1581e99afecfa462f38a70b7007df06.tar.gz bcm5719-llvm-040a3a28f1581e99afecfa462f38a70b7007df06.zip |
Remove the unuseful -fdiagnostics-show-name
This option was added in r129614 and doesn't have any use case that I'm aware
of. It's possible that external tools are using these names - and if that's
the case we can certainly reassess the functionality, but for now it lets us
shave out a few unneeded bits from clang.
Move the "StaticDiagNameIndex" table into the only remaining consumer, diagtool.
This removes the actual diagnostic name strings from clang entirely.
Reviewed by Chris Lattner & Ted Kremenek.
llvm-svn: 150612
Diffstat (limited to 'clang/lib/Driver/Tools.cpp')
-rw-r--r-- | clang/lib/Driver/Tools.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/clang/lib/Driver/Tools.cpp b/clang/lib/Driver/Tools.cpp index 796b8769e3b..4f8febd8795 100644 --- a/clang/lib/Driver/Tools.cpp +++ b/clang/lib/Driver/Tools.cpp @@ -2350,11 +2350,6 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA, options::OPT_fno_diagnostics_fixit_info)) CmdArgs.push_back("-fno-diagnostics-fixit-info"); - // Enable -fdiagnostics-show-name by default. - if (Args.hasFlag(options::OPT_fdiagnostics_show_name, - options::OPT_fno_diagnostics_show_name, false)) - CmdArgs.push_back("-fdiagnostics-show-name"); - // Enable -fdiagnostics-show-option by default. if (Args.hasFlag(options::OPT_fdiagnostics_show_option, options::OPT_fno_diagnostics_show_option)) |