Verified Commit d16d48a9 authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

GIT_SILENT Avoid unneeded clang-format off statement

parent 35629fb7
...@@ -120,12 +120,10 @@ QString KateProjectCodeAnalysisToolClazy::compileCommandsDirectory() const ...@@ -120,12 +120,10 @@ QString KateProjectCodeAnalysisToolClazy::compileCommandsDirectory() const
buildDir = buildDir.mid(2); buildDir = buildDir.mid(2);
} }
// clang-format off
/** /**
* list of absoloute paths to check compile commands * list of absoloute paths to check compile commands
*/ */
const QString possiblePaths[4] = const QString possiblePaths[4] = {
{
/** Absoloute build path in .kateproject e.g from cmake */ /** Absoloute build path in .kateproject e.g from cmake */
buildDir, buildDir,
/** Relative path in .kateproject e.g */ /** Relative path in .kateproject e.g */
...@@ -133,9 +131,8 @@ QString KateProjectCodeAnalysisToolClazy::compileCommandsDirectory() const ...@@ -133,9 +131,8 @@ QString KateProjectCodeAnalysisToolClazy::compileCommandsDirectory() const
/** Check for the commonly existing "build/" directory */ /** Check for the commonly existing "build/" directory */
m_project->baseDir() + QStringLiteral("/build"), m_project->baseDir() + QStringLiteral("/build"),
/** Project base, maybe it has a symlink to compile_commands.json file */ /** Project base, maybe it has a symlink to compile_commands.json file */
m_project->baseDir() m_project->baseDir(),
}; };
// clang-format on
/** /**
* Check all paths one by one for compile_commands.json and exit when found * Check all paths one by one for compile_commands.json and exit when found
......
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