Skip to content

Commit ee3f8cf

Browse files
committed
A16-2-2: Modified test file
1 parent c483299 commit ee3f8cf

8 files changed

+5
-26
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
| test.cpp:1:1:1:19 | #include "test.hpp" | Nothing in this file uses anything from "test.hpp" |
2-
| test.cpp:3:1:3:17 | #include <vector> | Nothing in this file uses anything from <vector> |
2+
| test.cpp:2:1:2:20 | #include <algorithm> | Nothing in this file uses anything from <algorithm> |

cpp/autosar/test/rules/A16-2-2/UnusedIncludeDirectives.expected.clang

Lines changed: 0 additions & 1 deletion
This file was deleted.

cpp/autosar/test/rules/A16-2-2/UnusedIncludeDirectives.expected.gcc

Lines changed: 0 additions & 1 deletion
This file was deleted.

cpp/autosar/test/rules/A16-2-2/UnusedIncludeDirectives.expected.qcc

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#include "test.hpp" //NON_COMPLIANT
2-
#include <string> //COMPLIANT
3-
#include <vector> //NON_COMPLIANT
1+
#include "test.hpp" //NON_COMPLIANT
2+
#include <algorithm> //NON_COMPLIANT
3+
#include <vector> //COMPLIANT
44

5-
std::string s = "A string";
5+
std::vector<int> v;

cpp/autosar/test/rules/A16-2-2/test.cpp.clang

Lines changed: 0 additions & 6 deletions
This file was deleted.

cpp/autosar/test/rules/A16-2-2/test.cpp.gcc

Lines changed: 0 additions & 6 deletions
This file was deleted.

cpp/autosar/test/rules/A16-2-2/test.cpp.qcc

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)