-
Notifications
You must be signed in to change notification settings - Fork 67
Fixes for #214 and 216 FP reports #253
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
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
3d0b937
Fix FP for issue 214
knewbury01 730b374
Add missing change notes from fixes for issues 215 and 232
knewbury01 3aaf853
Fix change notes
knewbury01 b09235f
Fix FP for issue 216
knewbury01 507d34e
Fix testcase identifiershidden rule
knewbury01 c6bcdf9
Improve fix for FP for issue 216
knewbury01 a8d6940
Merge branch 'main' into knewbury01/more-FP-fix
knewbury01 062e0e2
Format test A5-1-1
knewbury01 5432a1d
Merge branch 'knewbury01/more-FP-fix' of https://github.com/knewbury0…
knewbury01 e1190d8
Improve fix for FP for issue 216
knewbury01 cd2154d
Merge branch 'main' into knewbury01/more-FP-fix
lcartey File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* `A16-0-1` - reduce unneeded results related to `#pragma`, as it's already reported by A16-7-1. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* `DCL51-CPP` - reduce false positives related to use of `__func__` |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
* `A2-10-1` - reduce false positives for identifiers in same scope and relating to template variables | ||
* `RULE-5-3`- reduce false positives for identifiers in same scope |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* `A5-1-1` - reduce false positives by omitting literals written into file streams and wrappers around log and stream calls |
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
2 changes: 2 additions & 0 deletions
2
cpp/autosar/test/rules/A5-1-1/LiteralValueUsedOutsideTypeInit.expected
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
| test.cpp:5:9:5:25 | constant string | Literal value "constant string" used outside of type initialization StringLiteral | | ||
| test.cpp:14:23:14:25 | 100 | Literal value 100 used outside of type initialization Literal | | ||
| test.cpp:54:7:54:7 | 1 | Literal value 1 used outside of type initialization Literal | | ||
| test.cpp:75:23:75:28 | test | Literal value "test" used outside of type initialization StringLiteral | | ||
| test.cpp:76:19:76:28 | not okay | Literal value "not okay" used outside of type initialization StringLiteral | |
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
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
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.