fix file encoding support (UTF-8, UTF-16, with/without BOM)#2143
Merged
guwirth merged 1 commit intoSonarOpenCommunity:masterfrom May 15, 2021
Merged
fix file encoding support (UTF-8, UTF-16, with/without BOM)#2143guwirth merged 1 commit intoSonarOpenCommunity:masterfrom
guwirth merged 1 commit intoSonarOpenCommunity:masterfrom
Conversation
5cc554e to
945c70a
Compare
…/2.6.1 - In the original version, some features were discontinued in subsequent versions, which will be further developed within the scope of this fork. - rename sslr-squid-bridge to cxx-squid-bridge - rename sslr-cxx-toolkit to cxx-sslr-toolkit - using `org.sonar.cxx.squidbridge` instead of `org.sonar.squidbridge` - remove from the cxx plugin not needed parts improve AstScanner/SquidAstVisitorContext: - add InputFile support improve CxxAstScanner: - add InputFile support improve checks: - use InputFile.contents instead of File (avoid reloading of file content) - remove setCharset (use InputFile instead) add smoketests: - UTF-8 with BOM - UTF-16 with BOM
DeepCode's analysis on #57a615 found:
Top issues
👉 View analysis in DeepCode’s Dashboard | Configure the bot |
Closed
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.
add fork of of: https://github.com/SonarSource/sslr-squid-bridge/tree/2.6.1
org.sonar.cxx.squidbridgeinstead oforg.sonar.squidbridgeimprove AstScanner/SquidAstVisitorContext:
improve CxxAstScanner:
improve checks:
add smoketests:
This change is