forked from qt-creator/qt-creator
Add support for MSVC.
Via clang-cl, which supports the --analyze option now. Change-Id: Idbefe048eaa80e8c5bdb2244cb30c26ba7c71ef5 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
This commit is contained in:
@@ -61,7 +61,8 @@ bool ClangStaticAnalyzerRunControlFactory::canRun(RunConfiguration *runConfigura
|
||||
QTC_ASSERT(kit, return false);
|
||||
ToolChain *toolChain = ToolChainKitInformation::toolChain(kit);
|
||||
return toolChain && (toolChain->type() == QLatin1String("clang")
|
||||
|| toolChain->type() == QLatin1String("gcc"));
|
||||
|| toolChain->type() == QLatin1String("gcc")
|
||||
|| toolChain->type() == QLatin1String("msvc"));
|
||||
}
|
||||
|
||||
RunControl *ClangStaticAnalyzerRunControlFactory::create(RunConfiguration *runConfiguration,
|
||||
|
||||
Reference in New Issue
Block a user