diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2013-03-16 01:40:35 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2013-03-16 01:40:35 +0000 |
commit | 3065a0fce412c453293b91eeafc6082baf4626e0 (patch) | |
tree | d61f11387f0ea86349b880b1b8a8a42bbaffd083 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 6a92511a08664b8baf214606724709a58464ed61 (diff) | |
download | llvm-3065a0fce412c453293b91eeafc6082baf4626e0.zip llvm-3065a0fce412c453293b91eeafc6082baf4626e0.tar.gz llvm-3065a0fce412c453293b91eeafc6082baf4626e0.tar.bz2 |
Remove -Wspellcheck and replace it with a diagnostic option.
Thanks to Richard S. for pointing out that the warning would show up
with -Weverything.
llvm-svn: 177218
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | clang/lib/Frontend/CompilerInvocation.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index fa59212..f6ba4e5 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -561,6 +561,7 @@ bool clang::ParseDiagnosticArgs(DiagnosticOptions &Opts, ArgList &Args, Opts.VerifyDiagnostics = Args.hasArg(OPT_verify); Opts.ElideType = !Args.hasArg(OPT_fno_elide_type); Opts.ShowTemplateTree = Args.hasArg(OPT_fdiagnostics_show_template_tree); + Opts.WarnOnSpellCheck = Args.hasArg(OPT_fwarn_on_spellcheck); Opts.ErrorLimit = Args.getLastArgIntValue(OPT_ferror_limit, 0, Diags); Opts.MacroBacktraceLimit = Args.getLastArgIntValue(OPT_fmacro_backtrace_limit, |