Commit 1eabc23e authored by Kai Stierand's avatar Kai Stierand Committed by Milian Wolff
Browse files

plugins/clang-tidy: add quotes around clang-tidy executable

This is particularly necessary for Windows, where we have
clang-tidy in 'C:\Program Files\LLVM\bin' on a default installation.
parent 934e2944
......@@ -56,7 +56,7 @@ QString inlineYaml(const Job::Parameters& parameters)
QStringList commandLineArgs(const Job::Parameters& parameters)
{
QStringList args{
parameters.executablePath,
QLatin1Char('\"') + parameters.executablePath + QLatin1Char('\"'),
QLatin1String("-p=\"") + parameters.buildDir + QLatin1Char('\"'),
// don't add statistics we are not interested in to parse anyway
QStringLiteral("-quiet"),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment