forked from qt-creator/qt-creator
Adapt to rename of ProjectExplorer constants
QtC change: https://codereview.qt-project.org/#/c/120930/ Change-Id: I5af573d58f13dfc50e9dd003cb652d785e8c8347 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
@@ -43,7 +43,7 @@ namespace Internal {
|
||||
QString clangExecutableFromSettings(Core::Id toolchainType, bool *isValid)
|
||||
{
|
||||
QString exeFromSettings = ClangStaticAnalyzerSettings::instance()->clangExecutable();
|
||||
if (toolchainType == ProjectExplorer::Constants::MSVC_TOOLCHAIN_ID)
|
||||
if (toolchainType == ProjectExplorer::Constants::MSVC_TOOLCHAIN_TYPEID)
|
||||
exeFromSettings.replace(QLatin1String("clang.exe"), QLatin1String("clang-cl.exe"));
|
||||
return clangExecutable(exeFromSettings, isValid);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user