summaryrefslogtreecommitdiffstats
path: root/include/clang/Basic/DiagnosticOptions.def
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2013-03-16 01:40:35 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2013-03-16 01:40:35 +0000
commit6aa240c03dd68ab413106d6af7a18af1c9b4e872 (patch)
treea75e57eab6b55ee500dea8d2aee96b6bb6d98dbc /include/clang/Basic/DiagnosticOptions.def
parent1efffab67364f5afcc25f5f5f77e0f7ba5d41055 (diff)
Remove -Wspellcheck and replace it with a diagnostic option.
Thanks to Richard S. for pointing out that the warning would show up with -Weverything. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@177218 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/DiagnosticOptions.def')
-rw-r--r--include/clang/Basic/DiagnosticOptions.def1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/clang/Basic/DiagnosticOptions.def b/include/clang/Basic/DiagnosticOptions.def
index 41bbff2ede..8e5562c863 100644
--- a/include/clang/Basic/DiagnosticOptions.def
+++ b/include/clang/Basic/DiagnosticOptions.def
@@ -72,6 +72,7 @@ DIAGOPT(VerifyDiagnostics, 1, 0) /// Check that diagnostics match the expected
DIAGOPT(ElideType, 1, 0) /// Elide identical types in template diffing
DIAGOPT(ShowTemplateTree, 1, 0) /// Print a template tree when diffing
+DIAGOPT(WarnOnSpellCheck, 1, 0) /// -fwarn-on-spellcheck
VALUE_DIAGOPT(ErrorLimit, 32, 0) /// Limit # errors emitted.
/// Limit depth of macro expansion backtrace.