Skip to content

Commit 13e8853

Browse files
committed
C++: Update expected test results after extractor changes
1 parent 537fedd commit 13e8853

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

cpp/ql/test/library-tests/functions/functions/Functions2.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
| ODASA-5186.cpp:4:8:4:14 | MyClass<T> | Class | ODASA-5186.cpp:5:8:5:17 | operator== | |
1+
| ODASA-5186.cpp:4:8:4:14 | MyClass<T> | Struct | ODASA-5186.cpp:5:8:5:17 | operator== | |
22
| ODASA-5186.cpp:4:8:4:14 | MyClass<int> | Struct | ODASA-5186.cpp:5:8:5:8 | operator== | |
33
| file://:0:0:0:0 | __va_list_tag | Struct | file://:0:0:0:0 | operator= | |
44
| file://:0:0:0:0 | __va_list_tag | Struct | file://:0:0:0:0 | operator= | |

cpp/ql/test/library-tests/ir/ir/PrintAST.expected

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12445,11 +12445,11 @@ ir.cpp:
1244512445
# 1088| [ConstMemberFunction] bool std::iterator<Category, value_type, difference_type, pointer_type, reference_type>::operator==(std::iterator<Category, value_type, difference_type, pointer_type, reference_type>) const
1244612446
# 1088| <params>:
1244712447
# 1088| getParameter(0): [Parameter] other
12448-
# 1088| Type = [TemplateClass] iterator<Category, value_type, difference_type, pointer_type, reference_type>
12448+
# 1088| Type = [Struct,TemplateClass] iterator<Category, value_type, difference_type, pointer_type, reference_type>
1244912449
# 1089| [ConstMemberFunction] bool std::iterator<Category, value_type, difference_type, pointer_type, reference_type>::operator!=(std::iterator<Category, value_type, difference_type, pointer_type, reference_type>) const
1245012450
# 1089| <params>:
1245112451
# 1089| getParameter(0): [Parameter] other
12452-
# 1089| Type = [TemplateClass] iterator<Category, value_type, difference_type, pointer_type, reference_type>
12452+
# 1089| Type = [Struct,TemplateClass] iterator<Category, value_type, difference_type, pointer_type, reference_type>
1245312453
# 1089| [ConstMemberFunction] bool std::iterator<std::random_access_iterator_tag, ClassWithDestructor, std::ptrdiff_t, ClassWithDestructor*, ClassWithDestructor&>::operator!=(std::iterator<std::random_access_iterator_tag, ClassWithDestructor, std::ptrdiff_t, ClassWithDestructor*, ClassWithDestructor&>) const
1245412454
# 1089| <params>:
1245512455
# 1089| getParameter(0): [Parameter] other
@@ -12497,7 +12497,7 @@ ir.cpp:
1249712497
# 1096| [MemberFunction] int std::iterator<Category, value_type, difference_type, pointer_type, reference_type>::operator-(std::iterator<Category, value_type, difference_type, pointer_type, reference_type>)
1249812498
# 1096| <params>:
1249912499
# 1096| getParameter(0): [Parameter] (unnamed parameter 0)
12500-
# 1096| Type = [TemplateClass] iterator<Category, value_type, difference_type, pointer_type, reference_type>
12500+
# 1096| Type = [Struct,TemplateClass] iterator<Category, value_type, difference_type, pointer_type, reference_type>
1250112501
# 1097| [MemberFunction] reference_type std::iterator<Category, value_type, difference_type, pointer_type, reference_type>::operator[](int)
1250212502
# 1097| <params>:
1250312503
# 1097| getParameter(0): [Parameter] (unnamed parameter 0)

cpp/ql/test/library-tests/proxy_class/locations.expected

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
| proxy_class.cpp:3:20:3:20 | T | ProxyClass |
33
| proxy_class.cpp:3:20:3:20 | T | TypeTemplateParameter |
44
| proxy_class.cpp:4:8:4:14 | Derived<Base> | Struct |
5+
| proxy_class.cpp:4:8:4:14 | Derived<T> | Struct |

0 commit comments

Comments
 (0)