Uh oh!
There was an error while loading. Please reload this page.
Fix #14433 (Import project: refactor code to read compile_commands.json) - #8030
Conversation
3792859 to
7941aaeComparechrchr-github
commented
Dec 12, 2025
The clang-tidy warning seems to be a false positive, I have reported it here: llvm/llvm-project#172018 |
danmar
left a comment
There was a problem hiding this comment.
I have not checked it in detail yet but this is better approach in my opinion. 👍
I feel we shouldn't merge this before the release though it could introduce some bug.
5fbb9e0 to
b6c9031Compare0e066dd to
a9fd6d4Compare8e36982 to
20ac362CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
7c73ad4 to
fb2e7b3CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
fb2e7b3 to
a203adaCompareUh oh!
There was an error while loading. Please reload this page.
4fb1d36 to
63dae98Compare| - name: Self check (unusedFunction / no test / no gui) | ||
| run: | | ||
| supprs="--suppress=unusedFunction:lib/errorlogger.h:196 --suppress=unusedFunction:lib/importproject.cpp:1516 --suppress=unusedFunction:lib/importproject.cpp:1540" | ||
| supprs="--suppress=unusedFunction:lib/errorlogger.h:196 --suppress=unusedFunction:lib/importproject.cpp:1515 --suppress=unusedFunction:lib/importproject.cpp:1539" |
There was a problem hiding this comment.
@firewave it feels like inline suppressions should be used instead. why don't we? my spontanous guess is that different selfchecks generate different warnings?
There was a problem hiding this comment.
@firewave or how about adding maybe_unused attributes to the functions?
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
danmar
left a comment
There was a problem hiding this comment.
some more small nits. overall this PR makes the code much cleaner imho and I envision it will be more robust thanks to that.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
46445d7 to
48dd74cCompared3ce262 to
f7ac10eCompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
f7ac10e to
33c4119CompareUh oh!
There was an error while loading. Please reload this page.



There has been multiple issues with the import lately, and (my) fixes have been a bit hacky. With this change,
commandis first split similarily to how the shell would, and is then handled like theargumentsfield. For extracting compiler options, the argument list is handled like the compiler would readargv. I believe this will be easier to maintain in the future.