Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix line filter on for clang compiler on windows #108

Merged
merged 1 commit into from
Jan 18, 2024

Conversation

bwrsandman
Copy link
Contributor

The line filters seem to be sensitive to the compiler used. When using MSVC, the line filter must use backslashes in the name. However, if the clang compiler is used on Windows, it must be forward.

The simplest solution to this issue is to use an extra entry of the line filter one with forward slashes and one without.
This allows all compilers to be happy regardless of OS and without looking at compilation databases.

The line filters seem to be sensitive to the compiler used.
When using MSVC, the line filter must use backslashes in the name.
However, if the clang compiler is used on Windows, it must be forward.

The simplest solution to this issue is to use an extra entry of the line filter
one with forward slashes and one without.
This allows all compilers to be happy regardless of OS and without looking at
compilation databases.
@bwrsandman bwrsandman marked this pull request as ready for review January 18, 2024 00:56
@ZedThree ZedThree merged commit 5d848bc into ZedThree:master Jan 18, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants