- Notifications
You must be signed in to change notification settings - Fork70
Address "Updated expected results" C++ compiler compatibility issues#299
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes fromall commits
Commits
Show all changes
13 commits Select commitHold shift + click to select a range
08a261e A26-5-1: Address compiler compatibility
lcarteyb9f8bde A15-1-5: Expect no results for real compilers
lcartey96b85e0 A18-0-3: Address compiler compatibility
lcartey7cb9219 ERR59-CPP: Expect no results for real compilers
lcartey353de74 M18-2-1: Update compiler expected results
lcartey070579a M18-7-1: Address signal.h compiler compat
lcarteyae7461a M27-0-1: Address compiler compatibility
lcartey521c997 A14-7-2: Just report base name
lcarteyaaf5788 Add change note.
lcarteyf08d38f Merge branch 'main' into cpp-compiler-compat-update-results
lcartey14f0f35 Update M18-2-1 .expected file
mbaludae34f382 matrix testing mutex
mbaluda2847322 Fix expected files names
mbaludaFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
1 change: 1 addition & 0 deletionschange_notes/2023-04-28-a14-7-2.md
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 @@ | ||
| * `A14-7-2` - alert messages have been slightly adjusted to refer only to the base name of a file, not the full relative path. |
2 changes: 1 addition & 1 deletioncpp/autosar/src/rules/A14-7-2/TemplateSpecializationNotDeclaredInTheSameFile.ql
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 deletionscpp/autosar/test/rules/A14-7-2/TemplateSpecializationNotDeclaredInTheSameFile.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:5:20:5:25 | s<int> | Specialization found in file $@ where primary template is outside that file. | test.cpp:0:0:0:0 | test.cpp | test.cpp | | ||
| | test.cpp:7:18:7:24 | f | Specialization found in file $@ where primary template is outside that file. | test.cpp:0:0:0:0 | test.cpp | test.cpp | | ||
| | test.cpp:13:19:13:28 | vector<s1, allocator<s1>> | Specialization found in file $@ where primary template is outside that file. | test.cpp:0:0:0:0 | test.cpp | test.cpp | |
Empty file.
Empty file.
Empty file.
14 changes: 7 additions & 7 deletionscpp/autosar/test/rules/A18-0-3/LocaleFunctionsUsed.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
2 changes: 1 addition & 1 deletioncpp/autosar/test/rules/A18-0-3/LocaleTypeLConvUsed.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,2 +1,2 @@ | ||
| | test.cpp:10:8:10:12 | type mention | Use of <clocale> type 'lconv'. | | ||
| | test.cpp:18:3:18:7 | type mention | Use of <clocale> type 'lconv'. | |
1 change: 1 addition & 0 deletionscpp/autosar/test/rules/M18-2-1/MacroOffsetofUsed.expected.gcc
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 @@ | ||
| | test.cpp:9:32:9:51 | offsetof(__typ,__id) | Use of banned macro offsetof. | |
1 change: 1 addition & 0 deletionscpp/autosar/test/rules/M18-2-1/MacroOffsetofUsed.expected.qcc
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 @@ | ||
| | test.cpp:9:32:9:51 | offsetof(__typ,__id) | Use of banned macro offsetof. | |
4 changes: 2 additions & 2 deletionscpp/autosar/test/rules/M18-7-1/CsignalFunctionsUsed.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,4 +1,4 @@ | ||
| | test.cpp:7:3:7:13 | call to signal | Use of <csignal> function 'signal'. | | ||
| | test.cpp:8:3:8:12 | call to raise | Use of <csignal> function 'raise'. | | ||
| | test.cpp:11:3:11:8 | call to signal | Use of <csignal> function 'signal'. | | ||
| | test.cpp:12:3:12:7 | call to raise | Use of <csignal> function 'raise'. | |
2 changes: 1 addition & 1 deletioncpp/autosar/test/rules/M18-7-1/CsignalTypesUsed.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,2 +1,2 @@ | ||
| | test.cpp:6:8:6:19 | type mention | Use of <csignal> type 'sig_atomic_t'. | | ||
| | test.cpp:10:3:10:14 | type mention | Use of <csignal> type 'sig_atomic_t'. | |
34 changes: 17 additions & 17 deletionscpp/autosar/test/rules/M27-0-1/CstdioFunctionsUsed.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
4 changes: 2 additions & 2 deletionscpp/autosar/test/rules/M27-0-1/CstdioTypesUsed.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,4 +1,4 @@ | ||
| | test.cpp:4:8:4:11 | type mention | Use of <cstdio> type 'FILE'. | | ||
| | test.cpp:6:8:6:13 | type mention | Use of <cstdio> type 'fpos_t'. | | ||
| | test.cpp:34:3:34:6 | type mention | Use of <cstdio> type 'FILE'. | | ||
| | test.cpp:36:3:36:8 | type mention | Use of <cstdio> type 'fpos_t'. | |
Empty file.
Empty file.
Empty file.
13 changes: 5 additions & 8 deletionscpp/common/test/includes/standard-library/clocale
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
15 changes: 6 additions & 9 deletionscpp/common/test/includes/standard-library/csignal
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
182 changes: 51 additions & 131 deletionscpp/common/test/includes/standard-library/cstdio
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: 1 addition & 1 deletioncpp/common/test/includes/standard-library/cstdlib.h
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
8 changes: 8 additions & 0 deletionscpp/common/test/includes/standard-library/locale.h
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,8 @@ | ||
| #ifndef _GHLIBCPP_LOCALE | ||
| #define _GHLIBCPP_LOCALE | ||
| struct lconv; | ||
| char *setlocale(int, const char *); | ||
| lconv *localeconv(); | ||
| #endif // _GHLIBCPP_LOCALE |
8 changes: 8 additions & 0 deletionscpp/common/test/includes/standard-library/signal.h
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,8 @@ | ||
| #ifndef _GHLIBCPP_SIGNAL | ||
| #define _GHLIBCPP_SIGNAL | ||
| typedef int sig_atomic_t; | ||
| void (*signal(int, void (*func)(int)))(int); | ||
| int raise(int); | ||
| #endif // _GHLIBCPP_SIGNAL |
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
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.