C++: Accept test changes following fix_member_function_indices

This commit is contained in:
Ian Lynagh
2018-10-26 16:36:35 +01:00
parent 3e171960dc
commit 5359f5d044
3 changed files with 69 additions and 48 deletions

View File

@@ -1,24 +1,24 @@
| file://:0:0:0:0 | <none> | test.cpp:34:6:34:6 | g | g() | Orphan |
| test.cpp:2:7:2:7 | C | test.cpp:2:7:2:7 | operator= | C::operator=(C &&) | getAMember(), getAMember(6), getAMemberFunction(), getCanonicalMember(6), getDeclaringType() |
| test.cpp:2:7:2:7 | C | test.cpp:2:7:2:7 | operator= | C::operator=(const C &) | getAMember(), getAMember(6), getAMemberFunction(), getCanonicalMember(6), getDeclaringType() |
| test.cpp:2:7:2:7 | C | test.cpp:5:10:5:10 | f_template_C | C::f_template_C<double>(double) | getAMember(), getAMember(6), getAMemberFunction(), getDeclaringType() |
| test.cpp:2:7:2:7 | C | test.cpp:5:10:5:10 | f_template_C | C::f_template_C<int>(int) | getAMember(), getAMember(6), getAMemberFunction(), getDeclaringType() |
| test.cpp:2:7:2:7 | C | test.cpp:5:10:5:21 | f_template_C | C::f_template_C<T>(T) | getAMember(), getAMember(6), getAMemberFunction(), getCanonicalMember(6), getDeclaringType() |
| test.cpp:2:7:2:7 | C | test.cpp:8:10:8:10 | f_template_C_D | C::f_template_C_D<int>(int) | getAMember(), getAMember(6), getAMemberFunction(), getDeclaringType() |
| test.cpp:2:7:2:7 | C | test.cpp:8:10:8:23 | f_template_C_D | C::f_template_C_D<T>(T) | getAMember(), getAMember(6), getAMemberFunction(), getCanonicalMember(6), getDeclaringType() |
| test.cpp:2:7:2:7 | C | test.cpp:10:10:10:12 | f_C | C::f_C() | getAMember(), getAMember(6), getAMemberFunction(), getCanonicalMember(6), getDeclaringType() |
| test.cpp:2:7:2:7 | C | test.cpp:11:10:11:14 | f_C_D | C::f_C_D() | getAMember(), getAMember(6), getAMemberFunction(), getCanonicalMember(6), getDeclaringType() |
| test.cpp:14:7:14:7 | D | test.cpp:14:7:14:7 | operator= | D::operator=(D &&) | getAMember(), getAMember(6), getAMemberFunction(), getCanonicalMember(6), getDeclaringType() |
| test.cpp:14:7:14:7 | D | test.cpp:14:7:14:7 | operator= | D::operator=(const D &) | getAMember(), getAMember(6), getAMemberFunction(), getCanonicalMember(6), getDeclaringType() |
| test.cpp:14:7:14:7 | D | test.cpp:17:10:17:10 | f_template_C_D | D::f_template_C_D<double>(double) | getAMember(), getAMember(6), getAMemberFunction(), getDeclaringType() |
| test.cpp:14:7:14:7 | D | test.cpp:17:10:17:23 | f_template_C_D | D::f_template_C_D<T>(T) | getAMember(), getAMember(6), getAMemberFunction(), getCanonicalMember(6), getDeclaringType() |
| test.cpp:14:7:14:7 | D | test.cpp:20:10:20:10 | f_template_D | D::f_template_D<double>(double) | getAMember(), getAMember(6), getAMemberFunction(), getDeclaringType() |
| test.cpp:14:7:14:7 | D | test.cpp:20:10:20:21 | f_template_D | D::f_template_D<T>(T) | getAMember(), getAMember(6), getAMemberFunction(), getCanonicalMember(6), getDeclaringType() |
| test.cpp:14:7:14:7 | D | test.cpp:22:10:22:14 | f_C_D | D::f_C_D() | getAMember(), getAMember(6), getAMemberFunction(), getCanonicalMember(6), getDeclaringType() |
| test.cpp:14:7:14:7 | D | test.cpp:23:10:23:12 | f_D | D::f_D() | getAMember(), getAMember(6), getAMemberFunction(), getCanonicalMember(6), getDeclaringType() |
| test.cpp:27:7:27:7 | E<T> | test.cpp:29:10:29:12 | f_E | E<T>::f_E() | getAMember(), getAMember(2), getAMemberFunction(), getCanonicalMember(2), getDeclaringType() |
| test.cpp:27:7:27:7 | E<T> | test.cpp:31:10:31:16 | f_E_arg | E<T>::f_E_arg(E<T>) | getAMember(), getAMember(2), getAMemberFunction(), getCanonicalMember(2), getDeclaringType() |
| test.cpp:27:7:27:7 | E<int> | test.cpp:27:7:27:7 | operator= | E<int>::operator=(E<int> &&) | getAMember(), getAMember(4), getAMemberFunction(), getCanonicalMember(4), getDeclaringType() |
| test.cpp:27:7:27:7 | E<int> | test.cpp:27:7:27:7 | operator= | E<int>::operator=(const E<int> &) | getAMember(), getAMember(4), getAMemberFunction(), getCanonicalMember(4), getDeclaringType() |
| test.cpp:27:7:27:7 | E<int> | test.cpp:29:10:29:10 | f_E | E<int>::f_E() | getAMember(), getAMember(4), getAMemberFunction(), getCanonicalMember(4), getDeclaringType() |
| test.cpp:27:7:27:7 | E<int> | test.cpp:31:10:31:10 | f_E_arg | E<int>::f_E_arg(E<int>) | getAMember(), getAMember(4), getAMemberFunction(), getCanonicalMember(4), getDeclaringType() |
| test.cpp:2:7:2:7 | C | test.cpp:2:7:2:7 | operator= | C::operator=(C &&) | getAMember(), getAMember(5), getAMemberFunction(), getCanonicalMember(5), getDeclaringType() |
| test.cpp:2:7:2:7 | C | test.cpp:2:7:2:7 | operator= | C::operator=(const C &) | getAMember(), getAMember(4), getAMemberFunction(), getCanonicalMember(4), getDeclaringType() |
| test.cpp:2:7:2:7 | C | test.cpp:5:10:5:10 | f_template_C | C::f_template_C<double>(double) | getAMember(), getAMember(0), getAMemberFunction(), getDeclaringType() |
| test.cpp:2:7:2:7 | C | test.cpp:5:10:5:10 | f_template_C | C::f_template_C<int>(int) | getAMember(), getAMember(0), getAMemberFunction(), getDeclaringType() |
| test.cpp:2:7:2:7 | C | test.cpp:5:10:5:21 | f_template_C | C::f_template_C<T>(T) | getAMember(), getAMember(0), getAMemberFunction(), getCanonicalMember(0), getDeclaringType() |
| test.cpp:2:7:2:7 | C | test.cpp:8:10:8:10 | f_template_C_D | C::f_template_C_D<int>(int) | getAMember(), getAMember(1), getAMemberFunction(), getDeclaringType() |
| test.cpp:2:7:2:7 | C | test.cpp:8:10:8:23 | f_template_C_D | C::f_template_C_D<T>(T) | getAMember(), getAMember(1), getAMemberFunction(), getCanonicalMember(1), getDeclaringType() |
| test.cpp:2:7:2:7 | C | test.cpp:10:10:10:12 | f_C | C::f_C() | getAMember(), getAMember(2), getAMemberFunction(), getCanonicalMember(2), getDeclaringType() |
| test.cpp:2:7:2:7 | C | test.cpp:11:10:11:14 | f_C_D | C::f_C_D() | getAMember(), getAMember(3), getAMemberFunction(), getCanonicalMember(3), getDeclaringType() |
| test.cpp:14:7:14:7 | D | test.cpp:14:7:14:7 | operator= | D::operator=(D &&) | getAMember(), getAMember(5), getAMemberFunction(), getCanonicalMember(5), getDeclaringType() |
| test.cpp:14:7:14:7 | D | test.cpp:14:7:14:7 | operator= | D::operator=(const D &) | getAMember(), getAMember(4), getAMemberFunction(), getCanonicalMember(4), getDeclaringType() |
| test.cpp:14:7:14:7 | D | test.cpp:17:10:17:10 | f_template_C_D | D::f_template_C_D<double>(double) | getAMember(), getAMember(0), getAMemberFunction(), getDeclaringType() |
| test.cpp:14:7:14:7 | D | test.cpp:17:10:17:23 | f_template_C_D | D::f_template_C_D<T>(T) | getAMember(), getAMember(0), getAMemberFunction(), getCanonicalMember(0), getDeclaringType() |
| test.cpp:14:7:14:7 | D | test.cpp:20:10:20:10 | f_template_D | D::f_template_D<double>(double) | getAMember(), getAMember(1), getAMemberFunction(), getDeclaringType() |
| test.cpp:14:7:14:7 | D | test.cpp:20:10:20:21 | f_template_D | D::f_template_D<T>(T) | getAMember(), getAMember(1), getAMemberFunction(), getCanonicalMember(1), getDeclaringType() |
| test.cpp:14:7:14:7 | D | test.cpp:22:10:22:14 | f_C_D | D::f_C_D() | getAMember(), getAMember(2), getAMemberFunction(), getCanonicalMember(2), getDeclaringType() |
| test.cpp:14:7:14:7 | D | test.cpp:23:10:23:12 | f_D | D::f_D() | getAMember(), getAMember(3), getAMemberFunction(), getCanonicalMember(3), getDeclaringType() |
| test.cpp:27:7:27:7 | E<T> | test.cpp:29:10:29:12 | f_E | E<T>::f_E() | getAMember(), getAMember(0), getAMemberFunction(), getCanonicalMember(0), getDeclaringType() |
| test.cpp:27:7:27:7 | E<T> | test.cpp:31:10:31:16 | f_E_arg | E<T>::f_E_arg(E<T>) | getAMember(), getAMember(1), getAMemberFunction(), getCanonicalMember(1), getDeclaringType() |
| test.cpp:27:7:27:7 | E<int> | test.cpp:27:7:27:7 | operator= | E<int>::operator=(E<int> &&) | getAMember(), getAMember(3), getAMemberFunction(), getCanonicalMember(3), getDeclaringType() |
| test.cpp:27:7:27:7 | E<int> | test.cpp:27:7:27:7 | operator= | E<int>::operator=(const E<int> &) | getAMember(), getAMember(2), getAMemberFunction(), getCanonicalMember(2), getDeclaringType() |
| test.cpp:27:7:27:7 | E<int> | test.cpp:29:10:29:10 | f_E | E<int>::f_E() | getAMember(), getAMember(0), getAMemberFunction(), getCanonicalMember(0), getDeclaringType() |
| test.cpp:27:7:27:7 | E<int> | test.cpp:31:10:31:10 | f_E_arg | E<int>::f_E_arg(E<int>) | getAMember(), getAMember(1), getAMemberFunction(), getCanonicalMember(1), getDeclaringType() |

View File

@@ -2,13 +2,18 @@
| file://:0:0:0:0 | __va_list_tag | 1 __va_list_tag::fp_offset |
| file://:0:0:0:0 | __va_list_tag | 2 __va_list_tag::overflow_arg_area |
| file://:0:0:0:0 | __va_list_tag | 3 __va_list_tag::reg_save_area |
| file://:0:0:0:0 | __va_list_tag | 6 __va_list_tag::operator= |
| file://:0:0:0:0 | __va_list_tag | 4 __va_list_tag::operator= |
| file://:0:0:0:0 | __va_list_tag | 5 __va_list_tag::operator= |
| h.h:2:7:2:8 | CA | 0 CA::CB<TB> |
| h.h:2:7:2:8 | CA | 0 CA::CB<double> |
| h.h:2:7:2:8 | CA | 0 CA::CB<float> |
| h.h:2:7:2:8 | CA | 0 CA::CB<int> |
| h.h:2:7:2:8 | CA | 3 CA::operator= |
| h.h:2:7:2:8 | CA | 1 CA::operator= |
| h.h:2:7:2:8 | CA | 2 CA::operator= |
| h.h:5:11:5:12 | CB<TB> | <none> |
| h.h:5:11:5:12 | CB<double> | 2 CA::CB<double>::operator= |
| h.h:5:11:5:12 | CB<float> | 2 CA::CB<float>::operator= |
| h.h:5:11:5:12 | CB<int> | 2 CA::CB<int>::operator= |
| h.h:5:11:5:12 | CB<double> | 0 CA::CB<double>::operator= |
| h.h:5:11:5:12 | CB<double> | 1 CA::CB<double>::operator= |
| h.h:5:11:5:12 | CB<float> | 0 CA::CB<float>::operator= |
| h.h:5:11:5:12 | CB<float> | 1 CA::CB<float>::operator= |
| h.h:5:11:5:12 | CB<int> | 0 CA::CB<int>::operator= |
| h.h:5:11:5:12 | CB<int> | 1 CA::CB<int>::operator= |

View File

@@ -1,41 +1,57 @@
| a1.cpp:4:8:4:12 | Empty | 2 members | 2 locations | 2 | operator= |
| a1.cpp:4:8:4:12 | Empty | 2 members | 2 locations | 0 | operator= |
| a1.cpp:4:8:4:12 | Empty | 2 members | 2 locations | 1 | operator= |
| a1.cpp:6:8:6:15 | NonEmpty | 3 members | 2 locations | 0 | x |
| a1.cpp:6:8:6:15 | NonEmpty | 3 members | 2 locations | 3 | operator= |
| a1.cpp:6:8:6:15 | NonEmpty | 3 members | 2 locations | 1 | operator= |
| a1.cpp:6:8:6:15 | NonEmpty | 3 members | 2 locations | 2 | operator= |
| a1.cpp:10:8:10:10 | Bar | 5 members | 2 locations | 0 | empty |
| a1.cpp:10:8:10:10 | Bar | 5 members | 2 locations | 1 | nonempty |
| a1.cpp:10:8:10:10 | Bar | 5 members | 2 locations | 2 | i |
| a1.cpp:10:8:10:10 | Bar | 5 members | 2 locations | 5 | operator= |
| a2.cpp:4:8:4:12 | Empty | 2 members | 2 locations | 2 | operator= |
| a1.cpp:10:8:10:10 | Bar | 5 members | 2 locations | 3 | operator= |
| a1.cpp:10:8:10:10 | Bar | 5 members | 2 locations | 4 | operator= |
| a2.cpp:4:8:4:12 | Empty | 2 members | 2 locations | 0 | operator= |
| a2.cpp:4:8:4:12 | Empty | 2 members | 2 locations | 1 | operator= |
| a2.cpp:6:8:6:15 | NonEmpty | 3 members | 2 locations | 0 | x |
| a2.cpp:6:8:6:15 | NonEmpty | 3 members | 2 locations | 3 | operator= |
| a2.cpp:6:8:6:15 | NonEmpty | 3 members | 2 locations | 1 | operator= |
| a2.cpp:6:8:6:15 | NonEmpty | 3 members | 2 locations | 2 | operator= |
| a2.cpp:10:8:10:10 | Bar | 5 members | 2 locations | 0 | empty |
| a2.cpp:10:8:10:10 | Bar | 5 members | 2 locations | 1 | nonempty |
| a2.cpp:10:8:10:10 | Bar | 5 members | 2 locations | 2 | i |
| a2.cpp:10:8:10:10 | Bar | 5 members | 2 locations | 5 | operator= |
| a2.cpp:10:8:10:10 | Bar | 5 members | 2 locations | 3 | operator= |
| a2.cpp:10:8:10:10 | Bar | 5 members | 2 locations | 4 | operator= |
| b1.cpp:6:7:6:21 | AppleCompatible | 3 members | 2 locations | 0 | apple_x |
| b1.cpp:6:7:6:21 | AppleCompatible | 3 members | 2 locations | 3 | operator= |
| b1.cpp:6:7:6:21 | AppleCompatible | 3 members | 2 locations | 1 | operator= |
| b1.cpp:6:7:6:21 | AppleCompatible | 3 members | 2 locations | 2 | operator= |
| b1.cpp:11:7:11:22 | BananaCompatible | 3 members | 2 locations | 0 | banana_x |
| b1.cpp:11:7:11:22 | BananaCompatible | 3 members | 2 locations | 3 | operator= |
| b1.cpp:11:7:11:22 | BananaCompatible | 3 members | 2 locations | 1 | operator= |
| b1.cpp:11:7:11:22 | BananaCompatible | 3 members | 2 locations | 2 | operator= |
| b1.cpp:16:7:16:12 | Cherry | 3 members | 1 locations | 0 | cherry_x |
| b1.cpp:16:7:16:12 | Cherry | 3 members | 1 locations | 3 | operator= |
| b1.cpp:16:7:16:12 | Cherry | 3 members | 1 locations | 1 | operator= |
| b1.cpp:16:7:16:12 | Cherry | 3 members | 1 locations | 2 | operator= |
| b1.cpp:23:7:23:12 | Damson | 5 members | 2 locations | 0 | damson_x |
| b1.cpp:23:7:23:12 | Damson | 5 members | 2 locations | 4 | bar |
| b1.cpp:23:7:23:12 | Damson | 5 members | 2 locations | 4 | foo |
| b1.cpp:23:7:23:12 | Damson | 5 members | 2 locations | 4 | operator= |
| b1.cpp:23:7:23:12 | Damson | 5 members | 2 locations | 1 | bar |
| b1.cpp:23:7:23:12 | Damson | 5 members | 2 locations | 1 | foo |
| b1.cpp:23:7:23:12 | Damson | 5 members | 2 locations | 2 | operator= |
| b1.cpp:23:7:23:12 | Damson | 5 members | 2 locations | 3 | operator= |
| b1.cpp:29:9:29:23 | AppleCompatible | 3 members | 1 locations | 0 | apple_x |
| b1.cpp:29:9:29:23 | AppleCompatible | 3 members | 1 locations | 3 | operator= |
| b1.cpp:29:9:29:23 | AppleCompatible | 3 members | 1 locations | 1 | operator= |
| b1.cpp:29:9:29:23 | AppleCompatible | 3 members | 1 locations | 2 | operator= |
| b2.cpp:2:7:2:21 | AppleCompatible | 3 members | 2 locations | 0 | apple_x |
| b2.cpp:2:7:2:21 | AppleCompatible | 3 members | 2 locations | 3 | operator= |
| b2.cpp:2:7:2:21 | AppleCompatible | 3 members | 2 locations | 1 | operator= |
| b2.cpp:2:7:2:21 | AppleCompatible | 3 members | 2 locations | 2 | operator= |
| b2.cpp:9:7:9:22 | BananaCompatible | 3 members | 2 locations | 0 | banana_x |
| b2.cpp:9:7:9:22 | BananaCompatible | 3 members | 2 locations | 3 | operator= |
| b2.cpp:9:7:9:22 | BananaCompatible | 3 members | 2 locations | 1 | operator= |
| b2.cpp:9:7:9:22 | BananaCompatible | 3 members | 2 locations | 2 | operator= |
| b2.cpp:14:7:14:12 | Cherry | 3 members | 1 locations | 0 | cherry_x |
| b2.cpp:14:7:14:12 | Cherry | 3 members | 1 locations | 3 | operator= |
| b2.cpp:14:7:14:12 | Cherry | 3 members | 1 locations | 1 | operator= |
| b2.cpp:14:7:14:12 | Cherry | 3 members | 1 locations | 2 | operator= |
| b2.cpp:21:7:21:12 | Damson | 5 members | 2 locations | 0 | damson_x |
| b2.cpp:21:7:21:12 | Damson | 5 members | 2 locations | 4 | bar |
| b2.cpp:21:7:21:12 | Damson | 5 members | 2 locations | 4 | foo |
| b2.cpp:21:7:21:12 | Damson | 5 members | 2 locations | 4 | operator= |
| b2.cpp:21:7:21:12 | Damson | 5 members | 2 locations | 1 | bar |
| b2.cpp:21:7:21:12 | Damson | 5 members | 2 locations | 1 | foo |
| b2.cpp:21:7:21:12 | Damson | 5 members | 2 locations | 2 | operator= |
| b2.cpp:21:7:21:12 | Damson | 5 members | 2 locations | 3 | operator= |
| file://:0:0:0:0 | __va_list_tag | 6 members | 0 locations | 0 | gp_offset |
| file://:0:0:0:0 | __va_list_tag | 6 members | 0 locations | 1 | fp_offset |
| file://:0:0:0:0 | __va_list_tag | 6 members | 0 locations | 2 | overflow_arg_area |
| file://:0:0:0:0 | __va_list_tag | 6 members | 0 locations | 3 | reg_save_area |
| file://:0:0:0:0 | __va_list_tag | 6 members | 0 locations | 6 | operator= |
| file://:0:0:0:0 | __va_list_tag | 6 members | 0 locations | 4 | operator= |
| file://:0:0:0:0 | __va_list_tag | 6 members | 0 locations | 5 | operator= |