r181021 - Initialize WarnOnSpellCheck.

Rafael Espindola rafael.espindola at gmail.com
Fri May 3 08:01:36 PDT 2013


Author: rafael
Date: Fri May  3 10:01:36 2013
New Revision: 181021

URL: http://llvm.org/viewvc/llvm-project?rev=181021&view=rev
Log:
Initialize WarnOnSpellCheck.

Clang always calls setWarnOnSpellCheck, but we shouldn't require every client to
do so.

Issue noticed by Enea Zaffanella.

Modified:
    cfe/trunk/lib/Basic/Diagnostic.cpp

Modified: cfe/trunk/lib/Basic/Diagnostic.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Diagnostic.cpp?rev=181021&r1=181020&r2=181021&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Diagnostic.cpp (original)
+++ cfe/trunk/lib/Basic/Diagnostic.cpp Fri May  3 10:01:36 2013
@@ -48,6 +48,7 @@ DiagnosticsEngine::DiagnosticsEngine(
   AllExtensionsSilenced = 0;
   IgnoreAllWarnings = false;
   WarningsAsErrors = false;
+  WarnOnSpellCheck = false;
   EnableAllWarnings = false;
   ErrorsAsFatal = false;
   SuppressSystemWarnings = false;





More information about the cfe-commits mailing list