All: More ToolChain->Toolchain renamings

And removal of one unused function declaration.

Change-Id: I594e23401d8f247d3be081ce850005574951899d
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2024-01-18 16:09:25 +01:00
parent bb88c8c9be
commit d234e71643
37 changed files with 187 additions and 188 deletions

View File

@@ -79,9 +79,9 @@ static QStringList projectPartArguments(const ProjectPart &projectPart)
args << projectPart.compilerFilePath.toString();
args << "-c";
if (projectPart.toolchainType != ProjectExplorer::Constants::MSVC_TOOLCHAIN_TYPEID) {
args << "--target=" + projectPart.toolChainTargetTriple;
if (projectPart.toolChainAbi.architecture() == Abi::X86Architecture)
args << QLatin1String(projectPart.toolChainAbi.wordWidth() == 64 ? "-m64" : "-m32");
args << "--target=" + projectPart.toolchainTargetTriple;
if (projectPart.toolchainAbi.architecture() == Abi::X86Architecture)
args << QLatin1String(projectPart.toolchainAbi.wordWidth() == 64 ? "-m64" : "-m32");
}
args << projectPart.compilerFlags;
for (const ProjectExplorer::HeaderPath &headerPath : projectPart.headerPaths) {