Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9de7232

Browse files
authored
Merge pull request#299 from github/cpp-compiler-compat-update-results
Address "Updated expected results" C++ compiler compatibility issues
2 parents38f8878 +2847322 commit9de7232

File tree

27 files changed

+209
-188
lines changed

27 files changed

+209
-188
lines changed

‎change_notes/2023-04-28-a14-7-2.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
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.

‎cpp/autosar/src/rules/A14-7-2/TemplateSpecializationNotDeclaredInTheSameFile.ql‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,4 @@ where
5858
notspec.getFile()=spec.getPrimary().getFile()and
5959
notextraExclude(spec)
6060
selectspec,"Specialization found in file $@ where primary template is outside that file.",
61-
spec.getFile(),spec.getFile().getRelativePath()
61+
spec.getFile(),spec.getFile().getBaseName()
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
| 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 |rules/A14-7-2/test.cpp |
2-
| 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 |rules/A14-7-2/test.cpp |
3-
| 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 |rules/A14-7-2/test.cpp |
1+
| 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 |
2+
| 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 |
3+
| 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 |

‎cpp/autosar/test/rules/A15-1-5/ExceptionsThrownAcrossExecutionBoundaries.expected.clang‎

Whitespace-only changes.

‎cpp/autosar/test/rules/A15-1-5/ExceptionsThrownAcrossExecutionBoundaries.expected.gcc‎

Whitespace-only changes.

‎cpp/autosar/test/rules/A15-1-5/ExceptionsThrownAcrossExecutionBoundaries.expected.qcc‎

Whitespace-only changes.

‎cpp/autosar/test/rules/A18-0-3/LocaleFunctionsUsed.expected‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
| test.cpp:4:3:4:16 | call to setlocale | Use of <clocale> function 'std::setlocale'. |
2-
| test.cpp:5:3:5:16 | call to setlocale | Use of <clocale> function 'std::setlocale'. |
3-
| test.cpp:6:3:6:16 | call to setlocale | Use of <clocale> function 'std::setlocale'. |
4-
| test.cpp:7:3:7:16 | call to setlocale | Use of <clocale> function 'std::setlocale'. |
5-
| test.cpp:8:3:8:16 | call to setlocale | Use of <clocale> function 'std::setlocale'. |
6-
| test.cpp:9:3:9:16 | call to setlocale | Use of <clocale> function 'std::setlocale'. |
7-
| test.cpp:10:20:10:34 | call to localeconv | Use of <clocale> function 'std::localeconv'. |
1+
| test.cpp:4:3:4:16 | call to setlocale | Use of <clocale> function 'setlocale'. |
2+
| test.cpp:5:3:5:16 | call to setlocale | Use of <clocale> function 'setlocale'. |
3+
| test.cpp:6:3:6:16 | call to setlocale | Use of <clocale> function 'setlocale'. |
4+
| test.cpp:7:3:7:16 | call to setlocale | Use of <clocale> function 'setlocale'. |
5+
| test.cpp:8:3:8:16 | call to setlocale | Use of <clocale> function 'setlocale'. |
6+
| test.cpp:9:3:9:16 | call to setlocale | Use of <clocale> function 'setlocale'. |
7+
| test.cpp:10:20:10:34 | call to localeconv | Use of <clocale> function 'localeconv'. |
88
| test.cpp:12:3:12:11 | call to setlocale | Use of <clocale> function 'setlocale'. |
99
| test.cpp:13:3:13:11 | call to setlocale | Use of <clocale> function 'setlocale'. |
1010
| test.cpp:14:3:14:11 | call to setlocale | Use of <clocale> function 'setlocale'. |
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
| test.cpp:10:8:10:12 | type mention | Use of <clocale> type 'std::lconv'. |
1+
| test.cpp:10:8:10:12 | type mention | Use of <clocale> type 'lconv'. |
22
| test.cpp:18:3:18:7 | type mention | Use of <clocale> type 'lconv'. |
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
| test.cpp:9:32:9:51 | offsetof(__typ,__id) | Use of banned macro offsetof. |
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
| test.cpp:9:32:9:51 | offsetof(__typ,__id) | Use of banned macro offsetof. |

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp