Debian Codegraph @

clang_delta/tests/reduce-class-template-param/partial2.cc

raw symbols SCIP
1 // RUN: %clang_delta --transformation=reduce-class-template-param --counter=1 %s 2>&1 | %remove_lit_checks | FileCheck %s -check-prefix=CHECK-FIRST
2 // RUN: %clang_delta --transformation=reduce-class-template-param --counter=2 %s 2>&1 | %remove_lit_checks | FileCheck %s -check-prefix=CHECK-SECOND
3 // RUN: %clang_delta --transformation=reduce-class-template-param --counter=3 %s 2>&1 | %remove_lit_checks | FileCheck %s -check-prefix=CHECK-THIRD
4 // RUN: %clang_delta --transformation=reduce-class-template-param --counter=4 %s 2>&1 | %remove_lit_checks | FileCheck %s -check-prefix=CHECK-FOURTH
5
6 template<bool , typename>
7 struct AAA { };
8 template<typename, typename>
9 struct BBB {};
10 template<typename T>
11 struct BBB<T *, T &> {};
12
13 // CHECK-FIRST: template< typename>
14 // CHECK-FIRST: struct AAA { };
15 // CHECK-FIRST: template<typename, typename>
16 // CHECK-FIRST: struct BBB {};
17 // CHECK-FIRST: template<typename T>
18 // CHECK-FIRST: struct BBB<T *, T &> {};
19
20 // CHECK-SECOND: template<bool >
21 // CHECK-SECOND: struct AAA { };
22 // CHECK-SECOND: template<typename, typename>
23 // CHECK-SECOND: struct BBB {};
24 // CHECK-SECOND: template<typename T>
25 // CHECK-SECOND: struct BBB<T *, T &> {};
26
27 // CHECK-THIRD: template<bool , typename>
28 // CHECK-THIRD: struct AAA { };
29 // CHECK-THIRD: template< typename>
30 // CHECK-THIRD: struct BBB {};
31 // CHECK-THIRD: template<typename T>
32 // CHECK-THIRD: struct BBB< T &> {};
33
34 // CHECK-FOURTH: template<bool , typename>
35 // CHECK-FOURTH: struct AAA { };
36 // CHECK-FOURTH: template<typename>
37 // CHECK-FOURTH: struct BBB {};
38 // CHECK-FOURTH: template<typename T>
39 // CHECK-FOURTH: struct BBB<T *> {};
40