-
Notifications
You must be signed in to change notification settings - Fork 76
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
SLVS-1668 Include header file language in the VCX command #5861
Open
michael-jabbour-sonarsource
wants to merge
4
commits into
feature/cfamily-migration
Choose a base branch
from
mj/workaround_for_cfamily_headers
base: feature/cfamily-migration
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
SLVS-1668 Include header file language in the VCX command #5861
michael-jabbour-sonarsource
wants to merge
4
commits into
feature/cfamily-migration
from
mj/workaround_for_cfamily_headers
+21
−24
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hashicorp-vault-sonar-prod
bot
changed the title
[WIP] Workaround for cfamily headers
SLVS-1668 [WIP] Workaround for cfamily headers
Nov 29, 2024
michael-jabbour-sonarsource
changed the title
SLVS-1668 [WIP] Workaround for cfamily headers
[WIP] SLVS-1668 Workaround for cfamily headers
Nov 29, 2024
michael-jabbour-sonarsource
changed the title
[WIP] SLVS-1668 Workaround for cfamily headers
[WIP] SLVS-1668 Workaround for CFamily headers
Nov 29, 2024
michael-jabbour-sonarsource
force-pushed
the
mj/workaround_for_cfamily_headers
branch
5 times, most recently
from
November 29, 2024 13:36
3a5f1f7
to
0594303
Compare
georgii-borovinskikh-sonarsource
force-pushed
the
gb/vcx-migration
branch
from
November 29, 2024 14:13
715e7da
to
7acbb94
Compare
michael-jabbour-sonarsource
force-pushed
the
mj/workaround_for_cfamily_headers
branch
4 times, most recently
from
November 29, 2024 16:14
02beb4c
to
8995923
Compare
michael-jabbour-sonarsource
changed the title
[WIP] SLVS-1668 Workaround for CFamily headers
SLVS-1668 Workaround for CFamily headers
Nov 29, 2024
michael-jabbour-sonarsource
changed the title
SLVS-1668 Workaround for CFamily headers
SLVS-1668 Workaround for CFamily header language
Dec 2, 2024
michael-jabbour-sonarsource
changed the title
SLVS-1668 Workaround for CFamily header language
SLVS-1668 Communicate header file language in the VCX generated compilation database
Dec 2, 2024
michael-jabbour-sonarsource
changed the title
SLVS-1668 Communicate header file language in the VCX generated compilation database
SLVS-1668 Include header file language in the VCX generated compilation database
Dec 2, 2024
michael-jabbour-sonarsource
changed the title
SLVS-1668 Include header file language in the VCX generated compilation database
SLVS-1668 Include header file language in the VCX generated compdb
Dec 2, 2024
michael-jabbour-sonarsource
changed the title
SLVS-1668 Include header file language in the VCX generated compdb
SLVS-1668 Include header language in the VCX generated compdb
Dec 2, 2024
michael-jabbour-sonarsource
changed the title
SLVS-1668 Include header language in the VCX generated compdb
SLVS-1668 Include header file language in the VCX generated command
Dec 2, 2024
michael-jabbour-sonarsource
changed the title
SLVS-1668 Include header file language in the VCX generated command
SLVS-1668 Include header file language in the VCX command
Dec 2, 2024
michael-jabbour-sonarsource
requested a review
from mostafa-mohammed-sonarsource
December 2, 2024 10:36
mostafa-mohammed-sonarsource
approved these changes
Dec 2, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
Base automatically changed from
gb/vcx-migration
to
feature/cfamily-migration
December 4, 2024 13:44
This helps analyze headers in C projects as C code. This is needed now that we no longer pass HeaderFileLanguage separately to the analyzer.
Normally, the CFamily analyzer deduces that the file being analyzed is a header when there is no exact match for the file name in the given compilation database. This is a temporary workaround to communicate with the analyzer that the current file is a header file. This helps the analyzer avoid reporting some FPs. See https://sonarsource.atlassian.net/browse/CPP-2743
michael-jabbour-sonarsource
force-pushed
the
mj/workaround_for_cfamily_headers
branch
from
December 4, 2024 15:07
aec5103
to
d58d1bc
Compare
Quality Gate passedIssues Measures |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
SLVS-1668
Part of SLVS-1637
See the linked ticket for details about the problems we identified. This PR introduces the following changes:
HeaderFileLanguage
is no longer needed, I am removing it fromFileConfig
.