added some missing language checks and adjusted some others#6112
Merged
orbitcowboy merged 3 commits intocppcheck-opensource:mainfrom Mar 12, 2024
Merged
added some missing language checks and adjusted some others#6112orbitcowboy merged 3 commits intocppcheck-opensource:mainfrom
orbitcowboy merged 3 commits intocppcheck-opensource:mainfrom
Conversation
Collaborator
Author
|
With this change we should finally actually perform only the language appropriate handling. There is surely still code we could add such checks to - please try to keep that in mind if you come across such. In some cases we do check for C and C++ patterns in the same match call - those could be split up but in most cases might not have much of an impact aside from being a bit clearer. |
This file contains hidden or 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
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.
Settings::Standardsare always both set so we cannot simply check that but need to combine with an check for the actual language being used.