-
Notifications
You must be signed in to change notification settings - Fork 67
M14-6-1: Address performance problems and restrict scope #205
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
17 commits
Select commit
Hold shift + click to select a range
fbc9cee
M14-6-1: Extra test cases for non-dependent base types
lcartey 7b6cc90
M14-6-1: Restrict to templates with dependent base
lcartey 0d43de5
M14-6-1: Push dependent base type context
lcartey e5b9d15
M14-6-1: Re-name vars for clarity
lcartey ac27623
M14-6-1: Handle overloading
lcartey 8d89f17
M14-6-1: Clarify documention
lcartey 82644bc
M14-6-3: Address perf problems
lcartey 3f564a3
M14-6-1: Rename predicates for clarity
lcartey c308956
M14-6-1: Add improved alert message
lcartey f6afab6
M14-6-1: Ensure local scope variables are ignored
lcartey 5beb129
Merge branch 'main' into lcartey/m14-6-1
lcartey 6c5827c
M14-6-1: Address test irregularities
lcartey 4293582
Merge branch 'main' into lcartey/m14-6-1
lcartey a80c8b0
M14-6-1: Remove incompatible clang case
lcartey cc0372e
M14-6-1: Identify non-compilable cases
lcartey dd4a1ea
M14-6-1: nomagic implies noinline
lcartey 259bf68
Merge branch 'main' into lcartey/m14-6-1
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
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
6 changes: 3 additions & 3 deletions
6
cpp/autosar/test/rules/M14-6-1/NameNotReferredUsingAQualifiedIdOrThis.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,3 @@ | ||
| test.cpp:16:5:16:5 | m | Use of identifier that also exists in a base class that is not fully qualified. | | ||
| test.cpp:17:5:17:5 | call to g | Use of identifier that also exists in a base class that is not fully qualified. | | ||
| test.cpp:19:20:19:20 | g | Use of identifier that also exists in a base class that is not fully qualified. | | ||
| test.cpp:16:5:16:5 | m | Use of unqualified identifier m targets $@ but a member with the name also exists $@. | test.cpp:4:5:4:5 | m | m | test.cpp:10:7:10:7 | m | in the dependent base class | | ||
| test.cpp:17:5:17:5 | call to g | Use of unqualified identifier g targets $@ but a member with the name also exists $@. | test.cpp:2:6:2:6 | g | g | test.cpp:9:8:9:8 | g | in the dependent base class | | ||
| test.cpp:19:20:19:20 | g | Use of unqualified identifier g targets $@ but a member with the name also exists $@. | test.cpp:2:6:2:6 | g | g | test.cpp:9:8:9:8 | g | in the dependent base class | |
6 changes: 3 additions & 3 deletions
6
cpp/autosar/test/rules/M14-6-1/NameNotReferredUsingAQualifiedIdOrThisAudit.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,3 @@ | ||
| test.cpp:16:5:16:5 | m | Use of identifier that also exists in a base class that is not fully qualified. | | ||
| test.cpp:17:5:17:5 | call to g | Use of identifier that also exists in a base class that is not fully qualified. | | ||
| test.cpp:19:20:19:20 | g | Use of identifier that also exists in a base class that is not fully qualified. | | ||
| test.cpp:16:5:16:5 | m | Use of unqualified identifier m targets $@ but a member with the name also exists $@. | test.cpp:4:5:4:5 | m | m | test.cpp:10:7:10:7 | m | in the dependent base class | | ||
| test.cpp:17:5:17:5 | call to g | Use of unqualified identifier g targets $@ but a member with the name also exists $@. | test.cpp:2:6:2:6 | g | g | test.cpp:9:8:9:8 | g | in the dependent base class | | ||
| test.cpp:19:20:19:20 | g | Use of unqualified identifier g targets $@ but a member with the name also exists $@. | test.cpp:2:6:2:6 | g | g | test.cpp:9:8:9:8 | g | in the dependent base class | |
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.