Skip to content

Commit 5a72bef

Browse files
Fix test formatting
1 parent bfdc09a commit 5a72bef

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
| test.cpp:6:13:6:26 | definition of func_redefined | Inline variable 'func_redefined' is defined in multiple files, violating the source code uniqueness requirement. |
1+
| test.cpp:6:13:6:26 | definition of func_redefined | Inline function 'func_redefined' is implemented in multiple files: $@ and $@. | test.cpp:6:13:6:26 | definition of func_redefined | test.cpp | test2.cpp:8:13:8:26 | definition of func_redefined | test2.cpp |

cpp/misra/test/rules/RULE-6-2-3/compliant_specialization.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ template <> class Tpl2<compliant_h::C1, long> {}; // COMPLIANT
1313

1414
template <typename T> class Tpl2<T, compliant_h::C1> {}; // COMPLIANT
1515

16-
template<> class Tpl4<compliant_h::C1, 0> {}; // COMPLIANT
17-
template<int N> class Tpl4<compliant_h::C1, N> {}; // COMPLIANT
16+
template <> class Tpl4<compliant_h::C1, 0> {}; // COMPLIANT
17+
template <int N> class Tpl4<compliant_h::C1, N> {}; // COMPLIANT

cpp/misra/test/rules/RULE-6-2-3/template.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ template <> class Tpl2<class_h::C1, class_h::C1> {}; // COMPLIANT
2222

2323
template <typename T> class Tpl2<int, T> {}; // COMPLIANT
2424

25-
template<> class Tpl3<0> {}; // COMPLIANT
26-
template<> class Tpl4<int, 0> {}; // COMPLIANT
27-
template<> class Tpl4<template_h::C1, 0> {}; // COMPLIANT
28-
template<> class Tpl4<class_h::C1, 0> {}; // COMPLIANT
25+
template <> class Tpl3<0> {}; // COMPLIANT
26+
template <> class Tpl4<int, 0> {}; // COMPLIANT
27+
template <> class Tpl4<template_h::C1, 0> {}; // COMPLIANT
28+
template <> class Tpl4<class_h::C1, 0> {}; // COMPLIANT
2929

3030
#endif // TEMPLATE_H

0 commit comments

Comments
 (0)