diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2013-05-03 23:20:27 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2013-05-03 23:20:27 +0000 |
commit | d99990df0b4aca43a0315b2928ff1b8baf704052 (patch) | |
tree | d2ffb2b6055a26fa03f465b18f019f46beb09d56 /include/clang/Basic/Diagnostic.h | |
parent | ad6fd9f93ce0d328397e8d57ef7117ced24fc8e2 (diff) | |
download | clang-d99990df0b4aca43a0315b2928ff1b8baf704052.tar.gz clang-d99990df0b4aca43a0315b2928ff1b8baf704052.tar.bz2 clang-d99990df0b4aca43a0315b2928ff1b8baf704052.tar.xz |
Revert r177218.
Per discussion in cfe-commits, asserting may be a better way than introducing a special test flag.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181073 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/Diagnostic.h')
-rw-r--r-- | include/clang/Basic/Diagnostic.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/clang/Basic/Diagnostic.h b/include/clang/Basic/Diagnostic.h index 900964b68a..3e125944a3 100644 --- a/include/clang/Basic/Diagnostic.h +++ b/include/clang/Basic/Diagnostic.h @@ -175,7 +175,6 @@ private: bool SuppressAllDiagnostics; // Suppress all diagnostics. bool ElideType; // Elide common types of templates. bool PrintTemplateTree; // Print a tree when comparing templates. - bool WarnOnSpellCheck; // Emit warning when spellcheck is initiated. bool ShowColors; // Color printing is enabled. OverloadsShown ShowOverloads; // Which overload candidates to show. unsigned ErrorLimit; // Cap of # errors emitted, 0 -> no limit. @@ -467,10 +466,6 @@ public: /// tree format. void setPrintTemplateTree(bool Val = false) { PrintTemplateTree = Val; } bool getPrintTemplateTree() { return PrintTemplateTree; } - - /// \brief Warn when spellchecking is initated, for testing. - void setWarnOnSpellCheck(bool Val = false) { WarnOnSpellCheck = Val; } - bool getWarnOnSpellCheck() { return WarnOnSpellCheck; } /// \brief Set color printing, so the type diffing will inject color markers /// into the output. |