Skip to content

Conversation

@ludviggunne
Copy link
Collaborator

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

@ludviggunne ludviggunne force-pushed the cdb-parse-rewrite branch 2 times, most recently from 3792859 to 7941aae Compare December 12, 2025 13:10
@chrchr-github
Copy link
Collaborator

The clang-tidy warning seems to be a false positive, I have reported it here: llvm/llvm-project#172018

Copy link
Owner

@danmar danmar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@chrchr-github chrchr-github added the merge-after-next-release Wait with merging this PR until after the next Release label Dec 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-after-next-release Wait with merging this PR until after the next Release

3 participants