LangOptions::MSCVersion not initialized

When compiling r122194 with GCC 4.3.4 on Cygwin 1.7, I get the
following warning:

/home/Gamer/LLVM/llvm/tools/clang/lib/AST/../../include/clang/Basic/LangOptions.h:
In function ‘const clang::DiagnosticBuilder& clang::operator<<(const
clang::DiagnosticBuilder&, const clang::TemplateArgument&)’:
/home/Gamer/LLVM/llvm/tools/clang/lib/AST/../../include/clang/Basic/LangOptions.h:24:
warning: ‘LangOpts.clang::LangOptions::MSCVersion’ may be used
uninitialized in this function
/home/Gamer/LLVM/llvm/tools/clang/lib/AST/TemplateBase.cpp:230: note:
‘LangOpts.clang::LangOptions::MSCVersion’ was declared here

As far as I can see, MSCVersion is not set in the constructor.

Csaba

Thanks! Fixed in r122318.

  - Doug