Initialize WarnOnSpellCheck.

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

Issue noticed by Enea Zaffanella.

llvm-svn: 181021
This commit is contained in:
Rafael Espindola 2013-05-03 15:01:36 +00:00
parent 72463d32e0
commit aabf533656
1 changed files with 1 additions and 0 deletions

View File

@ -48,6 +48,7 @@ DiagnosticsEngine::DiagnosticsEngine(
AllExtensionsSilenced = 0;
IgnoreAllWarnings = false;
WarningsAsErrors = false;
WarnOnSpellCheck = false;
EnableAllWarnings = false;
ErrorsAsFatal = false;
SuppressSystemWarnings = false;