Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Kate
Commits
d16d48a9
Verified
Commit
d16d48a9
authored
Apr 25, 2021
by
Alexander Lohnau
💬
Browse files
GIT_SILENT Avoid unneeded clang-format off statement
parent
35629fb7
Changes
1
Hide whitespace changes
Inline
Side-by-side
addons/project/tools/kateprojectcodeanalysistoolclazy.cpp
View file @
d16d48a9
...
...
@@ -120,12 +120,10 @@ QString KateProjectCodeAnalysisToolClazy::compileCommandsDirectory() const
buildDir
=
buildDir
.
mid
(
2
);
}
// clang-format off
/**
* 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 */
buildDir
,
/** Relative path in .kateproject e.g */
...
...
@@ -133,9 +131,8 @@ QString KateProjectCodeAnalysisToolClazy::compileCommandsDirectory() const
/** Check for the commonly existing "build/" directory */
m_project
->
baseDir
()
+
QStringLiteral
(
"/build"
),
/** 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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment