File tree Expand file tree Collapse file tree
cpp/common/test/rules/unusedtypedeclarations Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33| test.cpp:13:11:13:11 | D | Type declaration D is not used. |
44| test.cpp:77:11:77:11 | R | Type declaration R is not used. |
55| test.cpp:90:12:90:12 | (unnamed class/struct/union) | Type declaration (unnamed class/struct/union) is not used. |
6- | test.cpp:112:7 :112:8 | AA | Type declaration AA is not used. |
6+ | test.cpp:112:29 :112:30 | AA | Type declaration AA is not used. |
77| test.cpp:127:7:127:12 | Nested | Type declaration Nested is not used. |
88| test.cpp:136:9:136:20 | UnusedNested | Type declaration UnusedNested is not used. |
99| test.cpp:139:7:139:22 | NestedBlockScope | Type declaration NestedBlockScope is not used. |
Original file line number Diff line number Diff line change @@ -108,8 +108,8 @@ template <class T> class Y {}; // COMPLIANT - used in the test case below
108108
109109// Alias templates
110110template <typename T> using Z = Y<T>; // COMPLIANT - used below
111- template < typename T>
112- using AA = Y<T>; // NON_COMPLIANT - never instantiated
111+
112+ template < typename T> using AA = Y<T>; // NON_COMPLIANT - never instantiated
113113
114114void test_alias_template () { Z<int > v; }
115115
You can’t perform that action at this time.
0 commit comments