diff --git a/cpp/ql/test/library-tests/atomic/variables.expected b/cpp/ql/test/library-tests/atomic/variables.expected index eb76e9c25ed..ccd92c70f6d 100644 --- a/cpp/ql/test/library-tests/atomic/variables.expected +++ b/cpp/ql/test/library-tests/atomic/variables.expected @@ -1,7 +1,5 @@ | (unnamed parameter 0) | __va_list_tag && | rvalue reference to {struct __va_list_tag} | -| (unnamed parameter 0) | atomic_box && | rvalue reference to {struct atomic_box} | | (unnamed parameter 0) | const __va_list_tag & | reference to {const {struct __va_list_tag}} | -| (unnamed parameter 0) | const atomic_box & | reference to {const {struct atomic_box}} | | a | _Atomic(int) | atomic {int} | | b | _Atomic(int) | atomic {int} | | c | _Atomic(int) * | pointer to {atomic {int}} | diff --git a/cpp/ql/test/library-tests/dataflow/taint-tests/localTaint.expected b/cpp/ql/test/library-tests/dataflow/taint-tests/localTaint.expected index c1f9cfe2133..1e8087c7ec9 100644 --- a/cpp/ql/test/library-tests/dataflow/taint-tests/localTaint.expected +++ b/cpp/ql/test/library-tests/dataflow/taint-tests/localTaint.expected @@ -301,27 +301,6 @@ WARNING: module 'TaintTracking' has been deprecated and may be removed in future | file://:0:0:0:0 | (unnamed parameter 0) | file://:0:0:0:0 | (unnamed parameter 0) | | | file://:0:0:0:0 | (unnamed parameter 0) | file://:0:0:0:0 | (unnamed parameter 0) | | | file://:0:0:0:0 | (unnamed parameter 0) | file://:0:0:0:0 | (unnamed parameter 0) | | -| file://:0:0:0:0 | (unnamed parameter 0) | file://:0:0:0:0 | (unnamed parameter 0) | | -| file://:0:0:0:0 | (unnamed parameter 0) | file://:0:0:0:0 | (unnamed parameter 0) | | -| file://:0:0:0:0 | (unnamed parameter 0) | file://:0:0:0:0 | (unnamed parameter 0) | | -| file://:0:0:0:0 | (unnamed parameter 0) | file://:0:0:0:0 | (unnamed parameter 0) | | -| file://:0:0:0:0 | (unnamed parameter 0) | file://:0:0:0:0 | (unnamed parameter 0) | | -| file://:0:0:0:0 | (unnamed parameter 0) | file://:0:0:0:0 | (unnamed parameter 0) | | -| file://:0:0:0:0 | (unnamed parameter 0) | file://:0:0:0:0 | (unnamed parameter 0) | | -| file://:0:0:0:0 | (unnamed parameter 0) | file://:0:0:0:0 | (unnamed parameter 0) | | -| file://:0:0:0:0 | (unnamed parameter 0) | file://:0:0:0:0 | (unnamed parameter 0) | | -| file://:0:0:0:0 | (unnamed parameter 0) | stl.h:75:8:75:8 | (unnamed parameter 0) | | -| file://:0:0:0:0 | (unnamed parameter 0) | stl.h:75:8:75:8 | (unnamed parameter 0) | | -| file://:0:0:0:0 | (unnamed parameter 0) | stl.h:389:9:389:9 | (unnamed parameter 0) | | -| file://:0:0:0:0 | (unnamed parameter 0) | stl.h:389:9:389:9 | (unnamed parameter 0) | | -| file://:0:0:0:0 | (unnamed parameter 0) | stl.h:389:9:389:9 | (unnamed parameter 0) | | -| file://:0:0:0:0 | (unnamed parameter 0) | stl.h:389:9:389:9 | (unnamed parameter 0) | | -| file://:0:0:0:0 | (unnamed parameter 0) | stl.h:389:9:389:9 | (unnamed parameter 0) | | -| file://:0:0:0:0 | (unnamed parameter 0) | stl.h:389:9:389:9 | (unnamed parameter 0) | | -| file://:0:0:0:0 | (unnamed parameter 0) | stl.h:389:9:389:9 | (unnamed parameter 0) | | -| file://:0:0:0:0 | (unnamed parameter 0) | stl.h:389:9:389:9 | (unnamed parameter 0) | | -| file://:0:0:0:0 | (unnamed parameter 0) | stl.h:389:9:389:9 | (unnamed parameter 0) | | -| file://:0:0:0:0 | (unnamed parameter 0) | stl.h:389:9:389:9 | (unnamed parameter 0) | | | file://:0:0:0:0 | (unnamed parameter 0) | structlikeclass.cpp:5:7:5:7 | (unnamed parameter 0) | | | file://:0:0:0:0 | (unnamed parameter 0) | structlikeclass.cpp:5:7:5:7 | (unnamed parameter 0) | | | file://:0:0:0:0 | (unnamed parameter 0) | taint.cpp:228:11:228:11 | (unnamed parameter 0) | | @@ -3599,12 +3578,6 @@ WARNING: module 'TaintTracking' has been deprecated and may be removed in future | standalone_iterators.cpp:128:2:128:3 | it | standalone_iterators.cpp:128:5:128:5 | call to operator+= | TAINT | | standalone_iterators.cpp:128:2:128:3 | ref arg it | standalone_iterators.cpp:129:7:129:8 | it | | | standalone_iterators.cpp:128:8:128:13 | call to source | standalone_iterators.cpp:128:2:128:3 | ref arg it | TAINT | -| stl.h:75:8:75:8 | container | stl.h:75:8:75:8 | constructor init of field container | TAINT | -| stl.h:75:8:75:8 | container | stl.h:75:8:75:8 | constructor init of field container | TAINT | -| stl.h:75:8:75:8 | container | stl.h:75:8:75:8 | container | | -| stl.h:75:8:75:8 | container | stl.h:75:8:75:8 | container | | -| stl.h:75:8:75:8 | this | stl.h:75:8:75:8 | constructor init of field container [pre-this] | | -| stl.h:75:8:75:8 | this | stl.h:75:8:75:8 | constructor init of field container [pre-this] | | | stl.h:95:69:95:69 | x | stl.h:95:69:95:69 | x | | | stl.h:95:69:95:69 | x | stl.h:95:69:95:69 | x | | | stl.h:95:69:95:69 | x | stl.h:95:69:95:69 | x | | @@ -3620,41 +3593,6 @@ WARNING: module 'TaintTracking' has been deprecated and may be removed in future | stl.h:292:30:292:40 | call to allocator | stl.h:292:21:292:41 | noexcept(...) | TAINT | | stl.h:292:30:292:40 | call to allocator | stl.h:292:21:292:41 | noexcept(...) | TAINT | | stl.h:292:53:292:63 | 0 | stl.h:292:46:292:64 | (no string representation) | TAINT | -| stl.h:389:9:389:9 | constructor init of field first [post-this] | stl.h:389:9:389:9 | constructor init of field second [pre-this] | | -| stl.h:389:9:389:9 | constructor init of field first [post-this] | stl.h:389:9:389:9 | constructor init of field second [pre-this] | | -| stl.h:389:9:389:9 | constructor init of field first [post-this] | stl.h:389:9:389:9 | constructor init of field second [pre-this] | | -| stl.h:389:9:389:9 | constructor init of field first [post-this] | stl.h:389:9:389:9 | constructor init of field second [pre-this] | | -| stl.h:389:9:389:9 | constructor init of field first [post-this] | stl.h:389:9:389:9 | constructor init of field second [pre-this] | | -| stl.h:389:9:389:9 | constructor init of field first [pre-this] | stl.h:389:9:389:9 | constructor init of field second [pre-this] | | -| stl.h:389:9:389:9 | constructor init of field first [pre-this] | stl.h:389:9:389:9 | constructor init of field second [pre-this] | | -| stl.h:389:9:389:9 | constructor init of field first [pre-this] | stl.h:389:9:389:9 | constructor init of field second [pre-this] | | -| stl.h:389:9:389:9 | constructor init of field first [pre-this] | stl.h:389:9:389:9 | constructor init of field second [pre-this] | | -| stl.h:389:9:389:9 | constructor init of field first [pre-this] | stl.h:389:9:389:9 | constructor init of field second [pre-this] | | -| stl.h:389:9:389:9 | first | stl.h:389:9:389:9 | constructor init of field first | TAINT | -| stl.h:389:9:389:9 | first | stl.h:389:9:389:9 | constructor init of field first | TAINT | -| stl.h:389:9:389:9 | first | stl.h:389:9:389:9 | constructor init of field first | TAINT | -| stl.h:389:9:389:9 | first | stl.h:389:9:389:9 | constructor init of field first | TAINT | -| stl.h:389:9:389:9 | first | stl.h:389:9:389:9 | constructor init of field first | TAINT | -| stl.h:389:9:389:9 | first | stl.h:389:9:389:9 | first | | -| stl.h:389:9:389:9 | first | stl.h:389:9:389:9 | first | | -| stl.h:389:9:389:9 | first | stl.h:389:9:389:9 | first | | -| stl.h:389:9:389:9 | first | stl.h:389:9:389:9 | first | | -| stl.h:389:9:389:9 | first | stl.h:389:9:389:9 | first | | -| stl.h:389:9:389:9 | second | stl.h:389:9:389:9 | constructor init of field second | TAINT | -| stl.h:389:9:389:9 | second | stl.h:389:9:389:9 | constructor init of field second | TAINT | -| stl.h:389:9:389:9 | second | stl.h:389:9:389:9 | constructor init of field second | TAINT | -| stl.h:389:9:389:9 | second | stl.h:389:9:389:9 | constructor init of field second | TAINT | -| stl.h:389:9:389:9 | second | stl.h:389:9:389:9 | constructor init of field second | TAINT | -| stl.h:389:9:389:9 | second | stl.h:389:9:389:9 | second | | -| stl.h:389:9:389:9 | second | stl.h:389:9:389:9 | second | | -| stl.h:389:9:389:9 | second | stl.h:389:9:389:9 | second | | -| stl.h:389:9:389:9 | second | stl.h:389:9:389:9 | second | | -| stl.h:389:9:389:9 | second | stl.h:389:9:389:9 | second | | -| stl.h:389:9:389:9 | this | stl.h:389:9:389:9 | constructor init of field first [pre-this] | | -| stl.h:389:9:389:9 | this | stl.h:389:9:389:9 | constructor init of field first [pre-this] | | -| stl.h:389:9:389:9 | this | stl.h:389:9:389:9 | constructor init of field first [pre-this] | | -| stl.h:389:9:389:9 | this | stl.h:389:9:389:9 | constructor init of field first [pre-this] | | -| stl.h:389:9:389:9 | this | stl.h:389:9:389:9 | constructor init of field first [pre-this] | | | stl.h:396:3:396:3 | this | stl.h:396:36:396:43 | constructor init of field first [pre-this] | | | stl.h:396:3:396:3 | this | stl.h:396:36:396:43 | constructor init of field first [pre-this] | | | stl.h:396:3:396:3 | this | stl.h:396:36:396:43 | constructor init of field first [pre-this] | | diff --git a/cpp/ql/test/library-tests/dataflow/taint-tests/test_mad-signatures.expected b/cpp/ql/test/library-tests/dataflow/taint-tests/test_mad-signatures.expected index e00434dd75f..976b83beaa8 100644 --- a/cpp/ql/test/library-tests/dataflow/taint-tests/test_mad-signatures.expected +++ b/cpp/ql/test/library-tests/dataflow/taint-tests/test_mad-signatures.expected @@ -377,7 +377,6 @@ getParameterTypeName | stl.h:88:25:88:33 | operator= | 0 | value_type && | | stl.h:91:24:91:33 | operator++ | 0 | int | | stl.h:91:24:91:33 | operator++ | 0 | int | -| stl.h:139:8:139:8 | basic_string | 0 | basic_string & | | stl.h:148:3:148:14 | basic_string | 0 | const class:2 & | | stl.h:149:33:149:44 | basic_string | 0 | const class:0 * | | stl.h:149:33:149:44 | basic_string | 1 | const class:2 & | diff --git a/cpp/ql/test/library-tests/declaration/IsMember.expected b/cpp/ql/test/library-tests/declaration/IsMember.expected index 80fcd74689c..69c6d20e962 100644 --- a/cpp/ql/test/library-tests/declaration/IsMember.expected +++ b/cpp/ql/test/library-tests/declaration/IsMember.expected @@ -17,10 +17,6 @@ | declaration.cpp:51:7:51:7 | operator= | | declaration.cpp:52:7:52:14 | myField0 | | declaration.cpp:53:9:53:17 | myPointer | -| declaration.cpp:62:7:62:7 | operator= | -| declaration.cpp:62:7:62:7 | operator= | -| declaration.cpp:62:7:62:7 | operator= | -| declaration.cpp:62:7:62:7 | operator= | | declaration.cpp:65:5:65:20 | myMemberVariable | | declaration.cpp:65:5:65:20 | myMemberVariable | | declaration.cpp:65:5:65:20 | myMemberVariable | @@ -36,10 +32,6 @@ | declaration.cpp:105:9:105:21 | myNestedField | | declaration.cpp:108:3:108:10 | MyClass1 | | declaration.cpp:110:7:110:17 | getMyField1 | -| declaration.cpp:119:7:119:7 | operator= | -| declaration.cpp:119:7:119:7 | operator= | -| declaration.cpp:119:7:119:7 | operator= | -| declaration.cpp:119:7:119:7 | operator= | | declaration.cpp:122:5:122:20 | myMemberVariable | | declaration.cpp:122:5:122:20 | myMemberVariable | | declaration.cpp:122:5:122:20 | myMemberVariable | diff --git a/cpp/ql/test/library-tests/declarationEntry/declarationEntry/declarationEntry.expected b/cpp/ql/test/library-tests/declarationEntry/declarationEntry/declarationEntry.expected index 19c55430e1c..ab6134ac4d0 100644 --- a/cpp/ql/test/library-tests/declarationEntry/declarationEntry/declarationEntry.expected +++ b/cpp/ql/test/library-tests/declarationEntry/declarationEntry/declarationEntry.expected @@ -15,10 +15,6 @@ | declarationEntry.cpp:20:6:20:11 | myEnum | declarationEntry.cpp:18:6:18:11 | declaration of myEnum | 1 | 1 | | declarationEntry.cpp:20:6:20:11 | myEnum | declarationEntry.cpp:20:6:20:11 | definition of myEnum | 1 | 1 | | declarationEntry.cpp:27:20:27:20 | T | declarationEntry.cpp:27:20:27:20 | definition of T | 1 | 1 | -| declarationEntry.cpp:28:7:28:7 | operator= | declarationEntry.cpp:28:7:28:7 | declaration of operator= | 1 | 1 | -| declarationEntry.cpp:28:7:28:7 | operator= | declarationEntry.cpp:28:7:28:7 | declaration of operator= | 1 | 1 | -| declarationEntry.cpp:28:7:28:7 | operator= | declarationEntry.cpp:28:7:28:7 | declaration of operator= | 1 | 1 | -| declarationEntry.cpp:28:7:28:7 | operator= | declarationEntry.cpp:28:7:28:7 | declaration of operator= | 1 | 1 | | declarationEntry.cpp:28:7:28:21 | myTemplateClass | declarationEntry.cpp:28:7:28:21 | definition of myTemplateClass | 1 | 1 | | declarationEntry.cpp:28:7:28:21 | myTemplateClass | declarationEntry.cpp:28:7:28:21 | definition of myTemplateClass | 1 | 0 | | declarationEntry.cpp:28:7:28:21 | myTemplateClass | declarationEntry.cpp:28:7:28:21 | definition of myTemplateClass | 1 | 0 | diff --git a/cpp/ql/test/library-tests/declarationEntry/declarationEntry/fde.expected b/cpp/ql/test/library-tests/declarationEntry/declarationEntry/fde.expected index 71c81c7ac82..88050e8c71d 100644 --- a/cpp/ql/test/library-tests/declarationEntry/declarationEntry/fde.expected +++ b/cpp/ql/test/library-tests/declarationEntry/declarationEntry/fde.expected @@ -6,10 +6,6 @@ | declarationEntry.c:17:6:17:21 | declaration of myFourthFunction | | 1 | c_linkage | | declarationEntry.cpp:9:6:9:15 | declaration of myFunction | | 0 | | | declarationEntry.cpp:11:6:11:15 | definition of myFunction | | 0 | | -| declarationEntry.cpp:28:7:28:7 | declaration of operator= | | 0 | | -| declarationEntry.cpp:28:7:28:7 | declaration of operator= | | 0 | | -| declarationEntry.cpp:28:7:28:7 | declaration of operator= | | 0 | | -| declarationEntry.cpp:28:7:28:7 | declaration of operator= | | 0 | | | declarationEntry.cpp:39:7:39:7 | declaration of operator= | | 0 | | | declarationEntry.cpp:39:7:39:7 | declaration of operator= | | 0 | | | macro.c:2:1:2:3 | declaration of foo | | 2 | c_linkage, static | diff --git a/cpp/ql/test/library-tests/declarationEntry/declarationEntry/roundTrip.expected b/cpp/ql/test/library-tests/declarationEntry/declarationEntry/roundTrip.expected index e0ea52ab027..2f9ea170973 100644 --- a/cpp/ql/test/library-tests/declarationEntry/declarationEntry/roundTrip.expected +++ b/cpp/ql/test/library-tests/declarationEntry/declarationEntry/roundTrip.expected @@ -15,10 +15,6 @@ | declarationEntry.cpp:18:6:18:11 | declaration of myEnum | declarationEntry.cpp:20:6:20:11 | myEnum | yes | | declarationEntry.cpp:20:6:20:11 | definition of myEnum | declarationEntry.cpp:20:6:20:11 | myEnum | yes | | declarationEntry.cpp:27:20:27:20 | definition of T | declarationEntry.cpp:27:20:27:20 | T | yes | -| declarationEntry.cpp:28:7:28:7 | declaration of operator= | declarationEntry.cpp:28:7:28:7 | operator= | yes | -| declarationEntry.cpp:28:7:28:7 | declaration of operator= | declarationEntry.cpp:28:7:28:7 | operator= | yes | -| declarationEntry.cpp:28:7:28:7 | declaration of operator= | declarationEntry.cpp:28:7:28:7 | operator= | yes | -| declarationEntry.cpp:28:7:28:7 | declaration of operator= | declarationEntry.cpp:28:7:28:7 | operator= | yes | | declarationEntry.cpp:28:7:28:21 | definition of myTemplateClass | declarationEntry.cpp:28:7:28:21 | myTemplateClass | yes | | declarationEntry.cpp:31:4:31:19 | definition of myMemberVariable | declarationEntry.cpp:31:4:31:19 | myMemberVariable | yes | | declarationEntry.cpp:31:4:31:19 | definition of myMemberVariable | declarationEntry.cpp:31:4:31:19 | myMemberVariable | yes | @@ -31,10 +27,6 @@ | declarationEntry.cpp:42:6:42:21 | definition of myMemberVariable | declarationEntry.cpp:42:6:42:21 | myMemberVariable | yes | | file://:0:0:0:0 | declaration of 1st parameter | file://:0:0:0:0 | (unnamed parameter 0) | yes | | file://:0:0:0:0 | declaration of 1st parameter | file://:0:0:0:0 | (unnamed parameter 0) | yes | -| file://:0:0:0:0 | declaration of 1st parameter | file://:0:0:0:0 | (unnamed parameter 0) | yes | -| file://:0:0:0:0 | declaration of 1st parameter | file://:0:0:0:0 | (unnamed parameter 0) | yes | -| file://:0:0:0:0 | declaration of 1st parameter | file://:0:0:0:0 | (unnamed parameter 0) | yes | -| file://:0:0:0:0 | declaration of 1st parameter | file://:0:0:0:0 | (unnamed parameter 0) | yes | | file://:0:0:0:0 | definition of fp_offset | file://:0:0:0:0 | fp_offset | yes | | file://:0:0:0:0 | definition of gp_offset | file://:0:0:0:0 | gp_offset | yes | | file://:0:0:0:0 | definition of overflow_arg_area | file://:0:0:0:0 | overflow_arg_area | yes | diff --git a/cpp/ql/test/library-tests/declarationEntry/more/declarationEntry.expected b/cpp/ql/test/library-tests/declarationEntry/more/declarationEntry.expected index 47b7f055943..b4817f60ad1 100644 --- a/cpp/ql/test/library-tests/declarationEntry/more/declarationEntry.expected +++ b/cpp/ql/test/library-tests/declarationEntry/more/declarationEntry.expected @@ -2,10 +2,6 @@ | file://:0:0:0:0 | declaration of 1st parameter | | file://:0:0:0:0 | declaration of 1st parameter | | file://:0:0:0:0 | declaration of 1st parameter | -| file://:0:0:0:0 | declaration of 1st parameter | -| file://:0:0:0:0 | declaration of 1st parameter | -| file://:0:0:0:0 | declaration of 1st parameter | -| file://:0:0:0:0 | declaration of 1st parameter | | file://:0:0:0:0 | definition of fp_offset | | file://:0:0:0:0 | definition of gp_offset | | file://:0:0:0:0 | definition of overflow_arg_area | @@ -72,12 +68,6 @@ | test.cpp:64:19:64:19 | definition of T | | test.cpp:65:7:65:27 | declaration of tmplInstantiatedClass | | test.cpp:66:19:66:19 | definition of T | -| test.cpp:67:7:67:7 | declaration of operator= | -| test.cpp:67:7:67:7 | declaration of operator= | -| test.cpp:67:7:67:7 | declaration of operator= | -| test.cpp:67:7:67:7 | declaration of operator= | -| test.cpp:67:7:67:7 | definition of tmplInstantiatedClass | -| test.cpp:67:7:67:7 | definition of tmplInstantiatedClass | | test.cpp:67:7:67:27 | definition of tmplInstantiatedClass | | test.cpp:68:7:68:7 | definition of t | | test.cpp:68:7:68:7 | definition of t | diff --git a/cpp/ql/test/library-tests/depends_initializers/VariableInitializers.expected b/cpp/ql/test/library-tests/depends_initializers/VariableInitializers.expected index dbe41448405..c4b5b52d062 100644 --- a/cpp/ql/test/library-tests/depends_initializers/VariableInitializers.expected +++ b/cpp/ql/test/library-tests/depends_initializers/VariableInitializers.expected @@ -6,8 +6,6 @@ | file://:0:0:0:0 | (unnamed parameter 0) | 0 | 0 | | file://:0:0:0:0 | (unnamed parameter 0) | 0 | 0 | | file://:0:0:0:0 | (unnamed parameter 0) | 0 | 0 | -| file://:0:0:0:0 | (unnamed parameter 0) | 0 | 0 | -| file://:0:0:0:0 | (unnamed parameter 0) | 0 | 0 | | file://:0:0:0:0 | fp_offset | 0 | 0 | | file://:0:0:0:0 | gp_offset | 0 | 0 | | file://:0:0:0:0 | overflow_arg_area | 0 | 0 | diff --git a/cpp/ql/test/library-tests/functions/functions/Functions1.expected b/cpp/ql/test/library-tests/functions/functions/Functions1.expected index 94756685634..eeda8cfc822 100644 --- a/cpp/ql/test/library-tests/functions/functions/Functions1.expected +++ b/cpp/ql/test/library-tests/functions/functions/Functions1.expected @@ -1,11 +1,6 @@ -| ODASA-5186.cpp:4:8:4:8 | MyClass | MyClass | | declaration:ODASA-5186.cpp:4:8:4:8, definition:ODASA-5186.cpp:4:8:4:8 | -| ODASA-5186.cpp:4:8:4:8 | operator= | operator= | MyClass && (unnamed parameter 0) | declaration:ODASA-5186.cpp:4:8:4:8 | -| ODASA-5186.cpp:4:8:4:8 | operator= | operator= | const MyClass & (unnamed parameter 0) | declaration:ODASA-5186.cpp:4:8:4:8 | | ODASA-5186.cpp:5:8:5:8 | operator== | operator== | const MyClass & other | declaration:ODASA-5186.cpp:5:8:5:8, definition:ODASA-5186.cpp:5:8:5:8 | | ODASA-5186.cpp:5:8:5:17 | operator== | operator== | const MyClass & other | declaration:ODASA-5186.cpp:5:8:5:17, definition:ODASA-5186.cpp:5:8:5:17 | | ODASA-5186.cpp:8:6:8:9 | test | test | | TopLevelFunction, declaration:ODASA-5186.cpp:8:6:8:9, definition:ODASA-5186.cpp:8:6:8:9, isTopLevel | -| ODASA-5186.hpp:2:8:2:8 | operator= | operator= | NEQ_helper> && (unnamed parameter 0) | declaration:ODASA-5186.hpp:2:8:2:8 | -| ODASA-5186.hpp:2:8:2:8 | operator= | operator= | const NEQ_helper> & (unnamed parameter 0) | declaration:ODASA-5186.hpp:2:8:2:8 | | ODASA-5186.hpp:4:18:4:27 | operator!= | operator!= | const MyClass & x, const MyClass & y | TopLevelFunction, declaration:ODASA-5186.hpp:4:18:4:27, definition:ODASA-5186.hpp:4:18:4:27, isTopLevel | | ODASA-5186.hpp:4:18:4:27 | operator!= | operator!= | const T & x, const T & y | TopLevelFunction, declaration:ODASA-5186.hpp:4:18:4:27, definition:ODASA-5186.hpp:4:18:4:27, isTopLevel | | functions.cpp:1:6:1:6 | f | f | int a, int b | TopLevelFunction, declaration:functions.cpp:1:6:1:6, definition:functions.cpp:1:6:1:6, isTopLevel | diff --git a/cpp/ql/test/library-tests/functions/functions/Functions2.expected b/cpp/ql/test/library-tests/functions/functions/Functions2.expected index 4040d024ebb..956932385f7 100644 --- a/cpp/ql/test/library-tests/functions/functions/Functions2.expected +++ b/cpp/ql/test/library-tests/functions/functions/Functions2.expected @@ -1,10 +1,5 @@ | ODASA-5186.cpp:4:8:4:14 | MyClass | Class | ODASA-5186.cpp:5:8:5:17 | operator== | | -| ODASA-5186.cpp:4:8:4:14 | MyClass | Struct | ODASA-5186.cpp:4:8:4:8 | MyClass | Constructor, NoArgConstructor, getAConstructor() | -| ODASA-5186.cpp:4:8:4:14 | MyClass | Struct | ODASA-5186.cpp:4:8:4:8 | operator= | | -| ODASA-5186.cpp:4:8:4:14 | MyClass | Struct | ODASA-5186.cpp:4:8:4:8 | operator= | | | ODASA-5186.cpp:4:8:4:14 | MyClass | Struct | ODASA-5186.cpp:5:8:5:8 | operator== | | -| ODASA-5186.hpp:2:8:2:17 | NEQ_helper> | Struct | ODASA-5186.hpp:2:8:2:8 | operator= | | -| ODASA-5186.hpp:2:8:2:17 | NEQ_helper> | Struct | ODASA-5186.hpp:2:8:2:8 | operator= | | | file://:0:0:0:0 | __va_list_tag | Struct | file://:0:0:0:0 | operator= | | | file://:0:0:0:0 | __va_list_tag | Struct | file://:0:0:0:0 | operator= | | | functions.cpp:7:8:7:8 | A | Struct | functions.cpp:7:8:7:8 | operator= | | diff --git a/cpp/ql/test/library-tests/identifiers/qualified_names/qualifiedNames.expected b/cpp/ql/test/library-tests/identifiers/qualified_names/qualifiedNames.expected index c98c493af25..f959304832a 100644 --- a/cpp/ql/test/library-tests/identifiers/qualified_names/qualifiedNames.expected +++ b/cpp/ql/test/library-tests/identifiers/qualified_names/qualifiedNames.expected @@ -39,8 +39,6 @@ | qualifiedNames.cpp:39:3:39:19 | typedefStructName | typedefStructName | | | typedefStructName | typedefStructName | | qualifiedNames.cpp:39:23:39:40 | ptypedefStructName | ptypedefStructName | | | ptypedefStructName | ptypedefStructName | | qualifiedNames.cpp:41:11:41:18 | typedefC | typedefC | | | typedefC | typedefC | -| qualifiedNames.cpp:45:10:45:10 | operator= | templates::TemplateClass::operator= | templates | TemplateClass | operator= | (not global) | -| qualifiedNames.cpp:45:10:45:10 | operator= | templates::TemplateClass::operator= | templates | TemplateClass | operator= | (not global) | | qualifiedNames.cpp:45:10:45:22 | TemplateClass | templates::TemplateClass | templates | | TemplateClass | (not global) | | qualifiedNames.cpp:45:10:45:22 | TemplateClass | templates::TemplateClass | templates | | TemplateClass | (not global) | | qualifiedNames.cpp:45:10:45:22 | TemplateClass | templates::TemplateClass | templates | | TemplateClass | (not global) | diff --git a/cpp/ql/test/library-tests/instantiations/test.expected b/cpp/ql/test/library-tests/instantiations/test.expected index 7460a9fa9dc..f4a3f63f143 100644 --- a/cpp/ql/test/library-tests/instantiations/test.expected +++ b/cpp/ql/test/library-tests/instantiations/test.expected @@ -25,10 +25,6 @@ | test.cpp:16:7:16:7 | operator= | | test.cpp:16:32:16:35 | vfun | | test.cpp:19:7:19:7 | C | -| test.cpp:19:7:19:7 | C | -| test.cpp:19:7:19:7 | C | -| test.cpp:19:7:19:7 | operator= | -| test.cpp:19:7:19:7 | operator= | | test.cpp:21:18:21:18 | vfun | | test.cpp:21:18:21:21 | vfun | | test.cpp:27:6:27:6 | f | diff --git a/cpp/ql/test/library-tests/ir/ir/PrintAST.expected b/cpp/ql/test/library-tests/ir/ir/PrintAST.expected index 94f8d8bff3c..525cb1aeec8 100644 --- a/cpp/ql/test/library-tests/ir/ir/PrintAST.expected +++ b/cpp/ql/test/library-tests/ir/ir/PrintAST.expected @@ -1729,30 +1729,6 @@ complex.c: # 144| ValueCategory = prvalue # 145| getStmt(72): [ReturnStmt] return ... coroutines.cpp: -# 4| [CopyAssignmentOperator] std::coroutine_traits& std::coroutine_traits::operator=(std::coroutine_traits const&) -# 4| : -#-----| getParameter(0): [Parameter] (unnamed parameter 0) -#-----| Type = [LValueReferenceType] const coroutine_traits & -# 4| [MoveAssignmentOperator] std::coroutine_traits& std::coroutine_traits::operator=(std::coroutine_traits&&) -# 4| : -#-----| getParameter(0): [Parameter] (unnamed parameter 0) -#-----| Type = [RValueReferenceType] coroutine_traits && -# 4| [CopyAssignmentOperator] std::coroutine_traits& std::coroutine_traits::operator=(std::coroutine_traits const&) -# 4| : -#-----| getParameter(0): [Parameter] (unnamed parameter 0) -#-----| Type = [LValueReferenceType] const coroutine_traits & -# 4| [MoveAssignmentOperator] std::coroutine_traits& std::coroutine_traits::operator=(std::coroutine_traits&&) -# 4| : -#-----| getParameter(0): [Parameter] (unnamed parameter 0) -#-----| Type = [RValueReferenceType] coroutine_traits && -# 4| [CopyAssignmentOperator] std::coroutine_traits& std::coroutine_traits::operator=(std::coroutine_traits const&) -# 4| : -#-----| getParameter(0): [Parameter] (unnamed parameter 0) -#-----| Type = [LValueReferenceType] const coroutine_traits & -# 4| [MoveAssignmentOperator] std::coroutine_traits& std::coroutine_traits::operator=(std::coroutine_traits&&) -# 4| : -#-----| getParameter(0): [Parameter] (unnamed parameter 0) -#-----| Type = [RValueReferenceType] coroutine_traits && # 12| [Constructor] void std::coroutine_handle::coroutine_handle() # 12| : # 13| [Constructor] void std::coroutine_handle::coroutine_handle(std::nullptr_t) @@ -8629,14 +8605,6 @@ ir.cpp: # 709| getArgument(1): [VariableAccess] y # 709| Type = [IntType] int # 709| ValueCategory = prvalue(load) -# 713| [CopyAssignmentOperator] Outer& Outer::operator=(Outer const&) -# 713| : -#-----| getParameter(0): [Parameter] (unnamed parameter 0) -#-----| Type = [LValueReferenceType] const Outer & -# 713| [MoveAssignmentOperator] Outer& Outer::operator=(Outer&&) -# 713| : -#-----| getParameter(0): [Parameter] (unnamed parameter 0) -#-----| Type = [RValueReferenceType] Outer && # 715| [MemberFunction,TemplateFunction] T Outer::Func(U, V) # 715| : # 715| getParameter(0): [Parameter] x @@ -11941,22 +11909,6 @@ ir.cpp: # 1054| getRightOperand().getFullyConverted(): [ReferenceDereferenceExpr] (reference dereference) # 1054| Type = [IntType] int # 1054| ValueCategory = prvalue(load) -# 1078| [CopyAssignmentOperator] std::iterator& std::iterator::operator=(std::iterator const&) -# 1078| : -#-----| getParameter(0): [Parameter] (unnamed parameter 0) -#-----| Type = [LValueReferenceType] const iterator & -# 1078| [CopyAssignmentOperator] std::iterator& std::iterator::operator=(std::iterator const&) -# 1078| : -#-----| getParameter(0): [Parameter] (unnamed parameter 0) -#-----| Type = [LValueReferenceType] const iterator & -# 1078| [CopyAssignmentOperator] std::iterator& std::iterator::operator=(std::iterator const&) -# 1078| : -#-----| getParameter(0): [Parameter] (unnamed parameter 0) -#-----| Type = [LValueReferenceType] const iterator & -# 1078| [CopyAssignmentOperator] std::iterator& std::iterator::operator=(std::iterator const&) -# 1078| : -#-----| getParameter(0): [Parameter] (unnamed parameter 0) -#-----| Type = [LValueReferenceType] const iterator & # 1081| [Constructor] void std::iterator::iterator() # 1081| : # 1082| [Constructor] void std::iterator::iterator(std::iterator const&) @@ -12105,38 +12057,6 @@ ir.cpp: # 1105| : #-----| getParameter(0): [Parameter] (unnamed parameter 0) #-----| Type = [RValueReferenceType] output_iterator_tag && -# 1108| [CopyAssignmentOperator] std::vector& std::vector::operator=(std::vector const&) -# 1108| : -#-----| getParameter(0): [Parameter] (unnamed parameter 0) -#-----| Type = [LValueReferenceType] const vector & -# 1108| [CopyAssignmentOperator] std::vector& std::vector::operator=(std::vector const&) -# 1108| : -#-----| getParameter(0): [Parameter] (unnamed parameter 0) -#-----| Type = [LValueReferenceType] const vector & -# 1108| [CopyAssignmentOperator] std::vector& std::vector::operator=(std::vector const&) -# 1108| : -#-----| getParameter(0): [Parameter] (unnamed parameter 0) -#-----| Type = [LValueReferenceType] const vector & -# 1108| [CopyAssignmentOperator] std::vector& std::vector::operator=(std::vector const&) -# 1108| : -#-----| getParameter(0): [Parameter] (unnamed parameter 0) -#-----| Type = [LValueReferenceType] const vector & -# 1108| [CopyConstructor] void std::vector::vector(std::vector const&) -# 1108| : -#-----| getParameter(0): [Parameter] (unnamed parameter 0) -#-----| Type = [LValueReferenceType] const vector & -# 1108| [CopyConstructor] void std::vector::vector(std::vector const&) -# 1108| : -#-----| getParameter(0): [Parameter] (unnamed parameter 0) -#-----| Type = [LValueReferenceType] const vector & -# 1108| [CopyConstructor] void std::vector::vector(std::vector const&) -# 1108| : -#-----| getParameter(0): [Parameter] (unnamed parameter 0) -#-----| Type = [LValueReferenceType] const vector & -# 1108| [CopyConstructor] void std::vector::vector(std::vector const&) -# 1108| : -#-----| getParameter(0): [Parameter] (unnamed parameter 0) -#-----| Type = [LValueReferenceType] const vector & # 1109| [Constructor] void std::vector::vector(ClassWithDestructor) # 1109| : # 1109| getParameter(0): [Parameter] (unnamed parameter 0) @@ -17431,14 +17351,6 @@ ir.cpp: # 1904| : #-----| getParameter(0): [Parameter] (unnamed parameter 0) #-----| Type = [RValueReferenceType] S && -# 1908| [CopyAssignmentOperator] missing_declaration_entries::Bar1& missing_declaration_entries::Bar1::operator=(missing_declaration_entries::Bar1 const&) -# 1908| : -#-----| getParameter(0): [Parameter] (unnamed parameter 0) -#-----| Type = [LValueReferenceType] const Bar1 & -# 1908| [MoveAssignmentOperator] missing_declaration_entries::Bar1& missing_declaration_entries::Bar1::operator=(missing_declaration_entries::Bar1&&) -# 1908| : -#-----| getParameter(0): [Parameter] (unnamed parameter 0) -#-----| Type = [RValueReferenceType] Bar1 && # 1911| [MemberFunction] void* missing_declaration_entries::Bar1::missing_type_decl_entry(missing_declaration_entries::Bar1::pointer) # 1911| : # 1911| getParameter(0): [Parameter] p @@ -17494,14 +17406,6 @@ ir.cpp: # 1919| Value = [CStyleCast] 0 # 1919| ValueCategory = prvalue # 1920| getStmt(2): [ReturnStmt] return ... -# 1922| [CopyAssignmentOperator] missing_declaration_entries::Bar2& missing_declaration_entries::Bar2::operator=(missing_declaration_entries::Bar2 const&) -# 1922| : -#-----| getParameter(0): [Parameter] (unnamed parameter 0) -#-----| Type = [LValueReferenceType] const Bar2 & -# 1922| [MoveAssignmentOperator] missing_declaration_entries::Bar2& missing_declaration_entries::Bar2::operator=(missing_declaration_entries::Bar2&&) -# 1922| : -#-----| getParameter(0): [Parameter] (unnamed parameter 0) -#-----| Type = [RValueReferenceType] Bar2 && # 1924| [MemberFunction] int missing_declaration_entries::Bar2::two_missing_variable_declaration_entries() # 1924| : # 1924| getEntryPoint(): [BlockStmt] { ... } @@ -17644,14 +17548,6 @@ ir.cpp: # 1934| Type = [ClassTemplateInstantiation,Struct] Bar2 # 1934| ValueCategory = lvalue # 1935| getStmt(2): [ReturnStmt] return ... -# 1937| [CopyAssignmentOperator] missing_declaration_entries::Bar3& missing_declaration_entries::Bar3::operator=(missing_declaration_entries::Bar3 const&) -# 1937| : -#-----| getParameter(0): [Parameter] (unnamed parameter 0) -#-----| Type = [LValueReferenceType] const Bar3 & -# 1937| [MoveAssignmentOperator] missing_declaration_entries::Bar3& missing_declaration_entries::Bar3::operator=(missing_declaration_entries::Bar3&&) -# 1937| : -#-----| getParameter(0): [Parameter] (unnamed parameter 0) -#-----| Type = [RValueReferenceType] Bar3 && # 1939| [MemberFunction] int missing_declaration_entries::Bar3::two_more_missing_variable_declaration_entries() # 1939| : # 1939| getEntryPoint(): [BlockStmt] { ... } diff --git a/cpp/ql/test/library-tests/members/getters/members.expected b/cpp/ql/test/library-tests/members/getters/members.expected index fac28f04077..5a379163155 100644 --- a/cpp/ql/test/library-tests/members/getters/members.expected +++ b/cpp/ql/test/library-tests/members/getters/members.expected @@ -19,7 +19,5 @@ | 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 | test.cpp:29:10:29:12 | f_E | E::f_E() | getAMember(), getAMember(0), getAMemberFunction(), getCanonicalMember(0), getDeclaringType() | | test.cpp:27:7:27:7 | E | test.cpp:31:10:31:16 | f_E_arg | E::f_E_arg(E) | getAMember(), getAMember(1), getAMemberFunction(), getCanonicalMember(1), getDeclaringType() | -| test.cpp:27:7:27:7 | E | test.cpp:27:7:27:7 | operator= | E::operator=(E &&) | getAMember(), getAMember(3), getAMemberFunction(), getCanonicalMember(3), getDeclaringType() | -| test.cpp:27:7:27:7 | E | test.cpp:27:7:27:7 | operator= | E::operator=(const E &) | getAMember(), getAMember(2), getAMemberFunction(), getCanonicalMember(2), getDeclaringType() | | test.cpp:27:7:27:7 | E | test.cpp:29:10:29:10 | f_E | E::f_E() | getAMember(), getAMember(0), getAMemberFunction(), getCanonicalMember(0), getDeclaringType() | | test.cpp:27:7:27:7 | E | test.cpp:31:10:31:10 | f_E_arg | E::f_E_arg(E) | getAMember(), getAMember(1), getAMemberFunction(), getCanonicalMember(1), getDeclaringType() | diff --git a/cpp/ql/test/library-tests/members/templates/c1.cpp b/cpp/ql/test/library-tests/members/templates/c1.cpp index d407b580f6e..bda19e3c973 100644 --- a/cpp/ql/test/library-tests/members/templates/c1.cpp +++ b/cpp/ql/test/library-tests/members/templates/c1.cpp @@ -4,4 +4,7 @@ static void f(void) { CA::CB x; CA::CB y; + + x.operator=(x); + x.operator=(static_cast&&>(x)); } diff --git a/cpp/ql/test/library-tests/members/templates/members.expected b/cpp/ql/test/library-tests/members/templates/members.expected index 770b85cc7b6..28edb28b419 100644 --- a/cpp/ql/test/library-tests/members/templates/members.expected +++ b/cpp/ql/test/library-tests/members/templates/members.expected @@ -11,9 +11,7 @@ | 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 | | -| h.h:5:11:5:12 | CB | 0 CA::CB::operator= | -| h.h:5:11:5:12 | CB | 1 CA::CB::operator= | -| h.h:5:11:5:12 | CB | 0 CA::CB::operator= | -| h.h:5:11:5:12 | CB | 1 CA::CB::operator= | +| h.h:5:11:5:12 | CB | | +| h.h:5:11:5:12 | CB | | | h.h:5:11:5:12 | CB | 0 CA::CB::operator= | | h.h:5:11:5:12 | CB | 1 CA::CB::operator= | diff --git a/cpp/ql/test/library-tests/noexcept/copy_from_prototype/copy_from_prototype.expected b/cpp/ql/test/library-tests/noexcept/copy_from_prototype/copy_from_prototype.expected index a5250dfccc5..467e7eb2636 100644 --- a/cpp/ql/test/library-tests/noexcept/copy_from_prototype/copy_from_prototype.expected +++ b/cpp/ql/test/library-tests/noexcept/copy_from_prototype/copy_from_prototype.expected @@ -1,7 +1,3 @@ -| copy_from_prototype.cpp:3:7:3:7 | a | void a::a(a const&) | copy_from_prototype.cpp:3:7:3:7 | a | | -| copy_from_prototype.cpp:3:7:3:7 | a | void a::a(a&&) | copy_from_prototype.cpp:3:7:3:7 | a | | -| copy_from_prototype.cpp:3:7:3:7 | operator= | a& a::operator=(a const&) | copy_from_prototype.cpp:3:7:3:7 | a | | -| copy_from_prototype.cpp:3:7:3:7 | operator= | a& a::operator=(a&&) | copy_from_prototype.cpp:3:7:3:7 | a | | | copy_from_prototype.cpp:4:26:4:26 | a | void a<(unnamed template parameter)>::a<(unnamed template parameter)>() | copy_from_prototype.cpp:3:7:3:7 | a<> | 123 | | copy_from_prototype.cpp:4:26:4:26 | a | void a::a<(unnamed template parameter)>() | copy_from_prototype.cpp:3:7:3:7 | a | | | copy_from_prototype.cpp:7:7:7:7 | b | void b::b() | copy_from_prototype.cpp:7:7:7:7 | b | | @@ -9,10 +5,6 @@ | copy_from_prototype.cpp:7:7:7:7 | b | void b::b(b&&) | copy_from_prototype.cpp:7:7:7:7 | b | | | copy_from_prototype.cpp:7:7:7:7 | operator= | b& b::operator=(b const&) | copy_from_prototype.cpp:7:7:7:7 | b | | | copy_from_prototype.cpp:7:7:7:7 | operator= | b& b::operator=(b&&) | copy_from_prototype.cpp:7:7:7:7 | b | | -| copy_from_prototype.cpp:13:7:13:7 | c | void c::c(c const&) | copy_from_prototype.cpp:13:7:13:7 | c | | -| copy_from_prototype.cpp:13:7:13:7 | c | void c::c(c&&) | copy_from_prototype.cpp:13:7:13:7 | c | | -| copy_from_prototype.cpp:13:7:13:7 | operator= | c& c::operator=(c const&) | copy_from_prototype.cpp:13:7:13:7 | c | | -| copy_from_prototype.cpp:13:7:13:7 | operator= | c& c::operator=(c&&) | copy_from_prototype.cpp:13:7:13:7 | c | | | copy_from_prototype.cpp:14:26:14:26 | c | void c::c<(unnamed template parameter)>() | copy_from_prototype.cpp:13:7:13:7 | c | X | | copy_from_prototype.cpp:14:26:14:26 | c | void c::c<(unnamed template parameter)>() | copy_from_prototype.cpp:13:7:13:7 | c | | | copy_from_prototype.cpp:17:7:17:7 | d | void d::d() | copy_from_prototype.cpp:17:7:17:7 | d | | @@ -20,10 +12,6 @@ | copy_from_prototype.cpp:17:7:17:7 | d | void d::d(d&&) | copy_from_prototype.cpp:17:7:17:7 | d | | | copy_from_prototype.cpp:17:7:17:7 | operator= | d& d::operator=(d const&) | copy_from_prototype.cpp:17:7:17:7 | d | | | copy_from_prototype.cpp:17:7:17:7 | operator= | d& d::operator=(d&&) | copy_from_prototype.cpp:17:7:17:7 | d | | -| copy_from_prototype.cpp:22:8:22:8 | e | void e::e(e const&) | copy_from_prototype.cpp:22:8:22:8 | e | | -| copy_from_prototype.cpp:22:8:22:8 | e | void e::e(e&&) | copy_from_prototype.cpp:22:8:22:8 | e | | -| copy_from_prototype.cpp:22:8:22:8 | operator= | e& e::operator=(e const&) | copy_from_prototype.cpp:22:8:22:8 | e | | -| copy_from_prototype.cpp:22:8:22:8 | operator= | e& e::operator=(e&&) | copy_from_prototype.cpp:22:8:22:8 | e | | | copy_from_prototype.cpp:23:26:23:26 | e | void e::e<(unnamed template parameter)>() | copy_from_prototype.cpp:22:8:22:8 | e | 456 | | copy_from_prototype.cpp:26:35:26:43 | e | void e::e<(unnamed template parameter)>() | copy_from_prototype.cpp:22:8:22:8 | e | 456 | | file://:0:0:0:0 | operator= | __va_list_tag& __va_list_tag::operator=(__va_list_tag const&) | file://:0:0:0:0 | __va_list_tag | | diff --git a/cpp/ql/test/library-tests/noexcept/noexcept/noexcept_specifier.expected b/cpp/ql/test/library-tests/noexcept/noexcept/noexcept_specifier.expected index 344551c24aa..57a58405ba0 100644 --- a/cpp/ql/test/library-tests/noexcept/noexcept/noexcept_specifier.expected +++ b/cpp/ql/test/library-tests/noexcept/noexcept/noexcept_specifier.expected @@ -1,20 +1,4 @@ | box.cpp:3:6:3:6 | definition of h | -------- | --- | -| box.h:2:8:2:8 | declaration of Box | -------- | --- | -| box.h:2:8:2:8 | declaration of Box | -------- | --- | -| box.h:2:8:2:8 | declaration of Box | -------- | --- | -| box.h:2:8:2:8 | declaration of Box | -------- | --- | -| box.h:2:8:2:8 | declaration of operator= | -------- | --- | -| box.h:2:8:2:8 | declaration of operator= | -------- | --- | -| box.h:2:8:2:8 | declaration of operator= | -------- | --- | -| box.h:2:8:2:8 | declaration of operator= | -------- | --- | -| box.h:2:8:2:8 | declaration of operator= | -------- | --- | -| box.h:2:8:2:8 | declaration of operator= | -------- | --- | -| box.h:2:8:2:8 | declaration of operator= | -------- | --- | -| box.h:2:8:2:8 | declaration of operator= | -------- | --- | -| box.h:2:8:2:8 | definition of Box | no except | --- | -| box.h:2:8:2:8 | definition of Box | no except | --- | -| box.h:2:8:2:8 | definition of Box | no except | --- | -| box.h:2:8:2:8 | definition of Box | no except | --- | | box.h:3:3:3:3 | definition of Box | -------- | __has_nothrow_copy | | box.h:3:3:3:3 | definition of Box | -------- | __has_nothrow_copy | | box.h:3:3:3:3 | definition of Box | -------- | __has_nothrow_copy | diff --git a/cpp/ql/test/library-tests/scopes/scopes/Scopes1.expected b/cpp/ql/test/library-tests/scopes/scopes/Scopes1.expected index f89e8fbeb8b..7a3da02731d 100644 --- a/cpp/ql/test/library-tests/scopes/scopes/Scopes1.expected +++ b/cpp/ql/test/library-tests/scopes/scopes/Scopes1.expected @@ -63,13 +63,7 @@ | scopes.cpp:74:11:74:13 | One | Namespace | scopes.cpp:95:8:95:8 | I | Class | | scopes.cpp:77:8:77:8 | H | Class | scopes.cpp:76:18:76:18 | T | | | scopes.cpp:77:8:77:8 | H | Class | scopes.cpp:79:5:79:5 | t | | -| scopes.cpp:77:8:77:8 | H | Class | scopes.cpp:77:8:77:8 | H | | -| scopes.cpp:77:8:77:8 | H | Class | scopes.cpp:77:8:77:8 | operator= | | -| scopes.cpp:77:8:77:8 | H | Class | scopes.cpp:77:8:77:8 | operator= | | | scopes.cpp:77:8:77:8 | H | Class | scopes.cpp:79:5:79:5 | t | | -| scopes.cpp:77:8:77:8 | H | Class | scopes.cpp:77:8:77:8 | H | | -| scopes.cpp:77:8:77:8 | H | Class | scopes.cpp:77:8:77:8 | operator= | | -| scopes.cpp:77:8:77:8 | H | Class | scopes.cpp:77:8:77:8 | operator= | | | scopes.cpp:77:8:77:8 | H | Class | scopes.cpp:79:5:79:5 | t | | | scopes.cpp:85:12:85:14 | One::Two | Namespace | scopes.cpp:87:8:87:13 | myEnum | | | scopes.cpp:95:8:95:8 | I | Class | scopes.cpp:95:8:95:8 | operator= | | diff --git a/cpp/ql/test/library-tests/scopes/scopes/Scopes3.expected b/cpp/ql/test/library-tests/scopes/scopes/Scopes3.expected index 94f46c73f75..dc525674dce 100644 --- a/cpp/ql/test/library-tests/scopes/scopes/Scopes3.expected +++ b/cpp/ql/test/library-tests/scopes/scopes/Scopes3.expected @@ -31,11 +31,5 @@ | scopes.cpp:67:3:67:8 | ~Table | | scopes.cpp:62:7:62:11 | Table | 8 | | scopes.cpp:68:9:68:14 | lookup | | scopes.cpp:62:7:62:11 | Table | 8 | | scopes.cpp:69:8:69:13 | insert | | scopes.cpp:62:7:62:11 | Table | 8 | -| scopes.cpp:77:8:77:8 | H | Constructor | scopes.cpp:77:8:77:8 | H | 4 | -| scopes.cpp:77:8:77:8 | H | Constructor | scopes.cpp:77:8:77:8 | H | 4 | -| scopes.cpp:77:8:77:8 | operator= | | scopes.cpp:77:8:77:8 | H | 4 | -| scopes.cpp:77:8:77:8 | operator= | | scopes.cpp:77:8:77:8 | H | 4 | -| scopes.cpp:77:8:77:8 | operator= | | scopes.cpp:77:8:77:8 | H | 4 | -| scopes.cpp:77:8:77:8 | operator= | | scopes.cpp:77:8:77:8 | H | 4 | | scopes.cpp:95:8:95:8 | operator= | | scopes.cpp:95:8:95:8 | I | 3 | | scopes.cpp:95:8:95:8 | operator= | | scopes.cpp:95:8:95:8 | I | 3 | diff --git a/cpp/ql/test/library-tests/scopes/scopes/Scopes4.expected b/cpp/ql/test/library-tests/scopes/scopes/Scopes4.expected index fda8ff9a7d8..fbe73938d7b 100644 --- a/cpp/ql/test/library-tests/scopes/scopes/Scopes4.expected +++ b/cpp/ql/test/library-tests/scopes/scopes/Scopes4.expected @@ -36,11 +36,5 @@ | scopes.cpp:68:9:68:14 | lookup | | 1 | 1 | | scopes.cpp:69:8:69:13 | insert | | 1 | 1 | | scopes.cpp:72:16:72:21 | strlen | isTopLevel() | 1 | 1 | -| scopes.cpp:77:8:77:8 | H | | 1 | 0 | -| scopes.cpp:77:8:77:8 | H | | 1 | 0 | -| scopes.cpp:77:8:77:8 | operator= | | 1 | 0 | -| scopes.cpp:77:8:77:8 | operator= | | 1 | 0 | -| scopes.cpp:77:8:77:8 | operator= | | 1 | 0 | -| scopes.cpp:77:8:77:8 | operator= | | 1 | 0 | | scopes.cpp:95:8:95:8 | operator= | | 1 | 0 | | scopes.cpp:95:8:95:8 | operator= | | 1 | 0 | diff --git a/cpp/ql/test/library-tests/special_members/generated_copy/functions.expected b/cpp/ql/test/library-tests/special_members/generated_copy/functions.expected index e60a795b9c0..dedd69ddf68 100644 --- a/cpp/ql/test/library-tests/special_members/generated_copy/functions.expected +++ b/cpp/ql/test/library-tests/special_members/generated_copy/functions.expected @@ -34,13 +34,6 @@ | copy.cpp:59:9:59:9 | HasArray2D | void private_cc::HasArray2D::HasArray2D(private_cc::HasArray2D&) | deleted | | | copy.cpp:59:9:59:9 | operator= | private_cc::HasArray2D& private_cc::HasArray2D::operator=(private_cc::HasArray2D const&) | | | | copy.cpp:59:9:59:9 | operator= | private_cc::HasArray2D& private_cc::HasArray2D::operator=(private_cc::HasArray2D&&) | | | -| copy.cpp:67:9:67:9 | Wrapper | void container::Wrapper::Wrapper() | | | -| copy.cpp:67:9:67:9 | Wrapper | void container::Wrapper::Wrapper() | deleted | | -| copy.cpp:67:9:67:9 | Wrapper | void container::Wrapper::Wrapper(container::Wrapper const&) | deleted | | -| copy.cpp:67:9:67:9 | Wrapper | void container::Wrapper::Wrapper(container::Wrapper&&) | | | -| copy.cpp:67:9:67:9 | operator= | container::Wrapper& container::Wrapper::operator=(container::Wrapper const&) | | | -| copy.cpp:67:9:67:9 | operator= | container::Wrapper& container::Wrapper::operator=(container::Wrapper&&) | | | -| copy.cpp:67:9:67:9 | operator= | container::Wrapper& container::Wrapper::operator=(container::Wrapper const&) | deleted | | | copy.cpp:71:9:71:9 | operator= | container::Copyable& container::Copyable::operator=(container::Copyable const&) | | | | copy.cpp:71:9:71:9 | operator= | container::Copyable& container::Copyable::operator=(container::Copyable&&) | | | | copy.cpp:72:9:72:9 | NotCopyable | void container::NotCopyable::NotCopyable() | deleted | | @@ -85,7 +78,6 @@ | copy.cpp:131:9:131:9 | OnlyAssign | void difference::OnlyAssign::OnlyAssign(difference::OnlyAssign const&) | deleted | | | copy.cpp:131:9:131:9 | operator= | difference::OnlyAssign& difference::OnlyAssign::operator=(difference::OnlyAssign const&) | | | | copy.cpp:131:9:131:9 | operator= | difference::OnlyAssign& difference::OnlyAssign::operator=(difference::OnlyAssign&&) | | | -| copy.cpp:137:9:137:9 | operator= | instantiated_explicit_ctor::Wrapper& instantiated_explicit_ctor::Wrapper::operator=(instantiated_explicit_ctor::Wrapper const&) | | | | copy.cpp:139:5:139:11 | Wrapper | void instantiated_explicit_ctor::Wrapper::Wrapper(instantiated_explicit_ctor::Wrapper&) | | | | copy.cpp:143:5:143:5 | Wrapper | void instantiated_explicit_ctor::Wrapper::Wrapper() | | | | copy.cpp:143:5:143:11 | Wrapper | void instantiated_explicit_ctor::Wrapper::Wrapper() | | | diff --git a/cpp/ql/test/library-tests/templates/CPP-203/decls.expected b/cpp/ql/test/library-tests/templates/CPP-203/decls.expected index 33aa6114052..3fadc0abd93 100644 --- a/cpp/ql/test/library-tests/templates/CPP-203/decls.expected +++ b/cpp/ql/test/library-tests/templates/CPP-203/decls.expected @@ -1,7 +1,5 @@ | file://:0:0:0:0 | (unnamed parameter 0) | | file://:0:0:0:0 | (unnamed parameter 0) | -| file://:0:0:0:0 | (unnamed parameter 0) | -| file://:0:0:0:0 | (unnamed parameter 0) | | file://:0:0:0:0 | __va_list_tag | | file://:0:0:0:0 | auto | | file://:0:0:0:0 | fp_offset | @@ -11,8 +9,6 @@ | file://:0:0:0:0 | overflow_arg_area | | file://:0:0:0:0 | reg_save_area | | test.cpp:2:16:2:16 | T | -| test.cpp:3:8:3:8 | operator= | -| test.cpp:3:8:3:8 | operator= | | test.cpp:3:8:3:10 | Str | | test.cpp:3:8:3:10 | Str | | test.cpp:7:16:7:16 | T | diff --git a/cpp/ql/test/library-tests/templates/friends/decls.expected b/cpp/ql/test/library-tests/templates/friends/decls.expected index b73562094ea..e8a5e3d22a0 100644 --- a/cpp/ql/test/library-tests/templates/friends/decls.expected +++ b/cpp/ql/test/library-tests/templates/friends/decls.expected @@ -1,9 +1,5 @@ | file://:0:0:0:0 | (unnamed parameter 0) | | file://:0:0:0:0 | (unnamed parameter 0) | -| file://:0:0:0:0 | (unnamed parameter 0) | -| file://:0:0:0:0 | (unnamed parameter 0) | -| file://:0:0:0:0 | (unnamed parameter 0) | -| file://:0:0:0:0 | (unnamed parameter 0) | | file://:0:0:0:0 | C's friend | | file://:0:0:0:0 | C's friend | | file://:0:0:0:0 | auto | @@ -24,10 +20,6 @@ | friends.cpp:7:9:7:9 | C | | friends.cpp:7:9:7:9 | C | | friends.cpp:7:9:7:9 | C | -| friends.cpp:7:9:7:9 | operator= | -| friends.cpp:7:9:7:9 | operator= | -| friends.cpp:7:9:7:9 | operator= | -| friends.cpp:7:9:7:9 | operator= | | friends.cpp:9:17:9:17 | f | | friends.cpp:9:17:9:19 | C's friend | | friends.cpp:9:21:9:26 | (unnamed parameter 0) | diff --git a/cpp/ql/test/library-tests/templates/incomplete_instantiations/test.expected b/cpp/ql/test/library-tests/templates/incomplete_instantiations/test.expected index 1cbf49e14d6..64481b4dbc5 100644 --- a/cpp/ql/test/library-tests/templates/incomplete_instantiations/test.expected +++ b/cpp/ql/test/library-tests/templates/incomplete_instantiations/test.expected @@ -1,13 +1,5 @@ | h.h:3:7:3:7 | C | h.h:4:10:4:12 | fun | 0 | -| h.h:3:7:3:7 | C | h.h:3:7:3:7 | operator= | 0 | -| h.h:3:7:3:7 | C | h.h:3:7:3:7 | operator= | 0 | -| h.h:3:7:3:7 | C | h.h:3:7:3:7 | operator= | 0 | -| h.h:3:7:3:7 | C | h.h:3:7:3:7 | operator= | 0 | | h.h:8:7:8:7 | D | h.h:10:10:10:12 | fun | 2 | -| h.h:8:7:8:7 | D | h.h:8:7:8:7 | operator= | 0 | -| h.h:8:7:8:7 | D | h.h:8:7:8:7 | operator= | 0 | | h.h:8:7:8:7 | D | h.h:10:10:10:10 | fun | 2 | | h.h:14:7:14:7 | E | h.h:16:10:16:12 | fun | 2 | -| h.h:14:7:14:7 | E | h.h:14:7:14:7 | operator= | 0 | -| h.h:14:7:14:7 | E | h.h:14:7:14:7 | operator= | 0 | | h.h:14:7:14:7 | E | h.h:16:10:16:10 | fun | 2 | diff --git a/cpp/ql/test/library-tests/templates/isfromtemplateinstantiation/isfromtemplateinstantiation.expected b/cpp/ql/test/library-tests/templates/isfromtemplateinstantiation/isfromtemplateinstantiation.expected index 629f2569232..cb35f7a6dd0 100644 --- a/cpp/ql/test/library-tests/templates/isfromtemplateinstantiation/isfromtemplateinstantiation.expected +++ b/cpp/ql/test/library-tests/templates/isfromtemplateinstantiation/isfromtemplateinstantiation.expected @@ -45,12 +45,6 @@ | isfromtemplateinstantiation.cpp:38:26:38:26 | definition of a_template_method | isfromtemplateinstantiation.cpp:38:26:38:26 | normal_class::a_template_method() | | isfromtemplateinstantiation.cpp:39:2:40:2 | { ... } | isfromtemplateinstantiation.cpp:38:26:38:26 | normal_class::a_template_method() | | isfromtemplateinstantiation.cpp:40:2:40:2 | return ... | isfromtemplateinstantiation.cpp:38:26:38:26 | normal_class::a_template_method() | -| isfromtemplateinstantiation.cpp:44:26:44:26 | declaration of operator= | isfromtemplateinstantiation.cpp:44:26:44:39 | template_class | -| isfromtemplateinstantiation.cpp:44:26:44:26 | declaration of operator= | isfromtemplateinstantiation.cpp:44:26:44:39 | template_class | -| isfromtemplateinstantiation.cpp:44:26:44:26 | definition of template_class | isfromtemplateinstantiation.cpp:44:26:44:39 | template_class | -| isfromtemplateinstantiation.cpp:44:26:44:26 | template_class::operator=(const template_class &) | isfromtemplateinstantiation.cpp:44:26:44:39 | template_class | -| isfromtemplateinstantiation.cpp:44:26:44:26 | template_class::operator=(template_class &&) | isfromtemplateinstantiation.cpp:44:26:44:39 | template_class | -| isfromtemplateinstantiation.cpp:44:26:44:26 | template_class::template_class() | isfromtemplateinstantiation.cpp:44:26:44:39 | template_class | | isfromtemplateinstantiation.cpp:46:4:46:4 | definition of t | isfromtemplateinstantiation.cpp:44:26:44:39 | template_class | | isfromtemplateinstantiation.cpp:46:4:46:4 | t | isfromtemplateinstantiation.cpp:44:26:44:39 | template_class | | isfromtemplateinstantiation.cpp:49:7:49:7 | definition of b_method | isfromtemplateinstantiation.cpp:44:26:44:39 | template_class | @@ -75,22 +69,6 @@ | isfromtemplateinstantiation.cpp:54:2:55:2 | { ... } | isfromtemplateinstantiation.cpp:53:26:53:26 | template_class::b_template_method(long) | | isfromtemplateinstantiation.cpp:55:2:55:2 | return ... | isfromtemplateinstantiation.cpp:44:26:44:39 | template_class | | isfromtemplateinstantiation.cpp:55:2:55:2 | return ... | isfromtemplateinstantiation.cpp:53:26:53:26 | template_class::b_template_method(long) | -| isfromtemplateinstantiation.cpp:77:26:77:26 | AnotherTemplateClass::operator=(AnotherTemplateClass &&) | isfromtemplateinstantiation.cpp:77:26:77:45 | AnotherTemplateClass | -| isfromtemplateinstantiation.cpp:77:26:77:26 | AnotherTemplateClass::operator=(const AnotherTemplateClass &) | isfromtemplateinstantiation.cpp:77:26:77:45 | AnotherTemplateClass | -| isfromtemplateinstantiation.cpp:77:26:77:26 | AnotherTemplateClass::operator=(AnotherTemplateClass &&) | isfromtemplateinstantiation.cpp:128:7:128:30 | AnotherTemplateClass | -| isfromtemplateinstantiation.cpp:77:26:77:26 | AnotherTemplateClass::operator=(const AnotherTemplateClass &) | isfromtemplateinstantiation.cpp:128:7:128:30 | AnotherTemplateClass | -| isfromtemplateinstantiation.cpp:77:26:77:26 | declaration of operator= | isfromtemplateinstantiation.cpp:77:26:77:45 | AnotherTemplateClass | -| isfromtemplateinstantiation.cpp:77:26:77:26 | declaration of operator= | isfromtemplateinstantiation.cpp:77:26:77:45 | AnotherTemplateClass | -| isfromtemplateinstantiation.cpp:77:26:77:26 | declaration of operator= | isfromtemplateinstantiation.cpp:128:7:128:30 | AnotherTemplateClass | -| isfromtemplateinstantiation.cpp:77:26:77:26 | declaration of operator= | isfromtemplateinstantiation.cpp:128:7:128:30 | AnotherTemplateClass | -| isfromtemplateinstantiation.cpp:82:9:82:9 | AnotherTemplateClass::MyClassStruct::operator=(MyClassStruct &&) | isfromtemplateinstantiation.cpp:77:26:77:45 | AnotherTemplateClass | -| isfromtemplateinstantiation.cpp:82:9:82:9 | AnotherTemplateClass::MyClassStruct::operator=(MyClassStruct &&) | isfromtemplateinstantiation.cpp:82:9:82:21 | MyClassStruct | -| isfromtemplateinstantiation.cpp:82:9:82:9 | AnotherTemplateClass::MyClassStruct::operator=(const MyClassStruct &) | isfromtemplateinstantiation.cpp:77:26:77:45 | AnotherTemplateClass | -| isfromtemplateinstantiation.cpp:82:9:82:9 | AnotherTemplateClass::MyClassStruct::operator=(const MyClassStruct &) | isfromtemplateinstantiation.cpp:82:9:82:21 | MyClassStruct | -| isfromtemplateinstantiation.cpp:82:9:82:9 | declaration of operator= | isfromtemplateinstantiation.cpp:77:26:77:45 | AnotherTemplateClass | -| isfromtemplateinstantiation.cpp:82:9:82:9 | declaration of operator= | isfromtemplateinstantiation.cpp:77:26:77:45 | AnotherTemplateClass | -| isfromtemplateinstantiation.cpp:82:9:82:9 | declaration of operator= | isfromtemplateinstantiation.cpp:82:9:82:21 | MyClassStruct | -| isfromtemplateinstantiation.cpp:82:9:82:9 | declaration of operator= | isfromtemplateinstantiation.cpp:82:9:82:21 | MyClassStruct | | isfromtemplateinstantiation.cpp:82:9:82:21 | MyClassStruct | isfromtemplateinstantiation.cpp:77:26:77:45 | AnotherTemplateClass | | isfromtemplateinstantiation.cpp:84:6:84:10 | definition of value | isfromtemplateinstantiation.cpp:77:26:77:45 | AnotherTemplateClass | | isfromtemplateinstantiation.cpp:84:6:84:10 | definition of value | isfromtemplateinstantiation.cpp:82:9:82:21 | MyClassStruct | @@ -126,26 +104,12 @@ | isfromtemplateinstantiation.cpp:99:1:99:1 | return ... | isfromtemplateinstantiation.cpp:77:26:77:45 | AnotherTemplateClass | | isfromtemplateinstantiation.cpp:99:1:99:1 | return ... | isfromtemplateinstantiation.cpp:97:52:97:52 | AnotherTemplateClass::myMethod2(MyClassEnum) | | isfromtemplateinstantiation.cpp:110:3:110:3 | definition of var_template | isfromtemplateinstantiation.cpp:110:3:110:3 | var_template | -| isfromtemplateinstantiation.cpp:134:29:134:29 | Outer::operator=(Outer &&) | isfromtemplateinstantiation.cpp:134:29:134:33 | Outer | -| isfromtemplateinstantiation.cpp:134:29:134:29 | Outer::operator=(const Outer &) | isfromtemplateinstantiation.cpp:134:29:134:33 | Outer | -| isfromtemplateinstantiation.cpp:134:29:134:29 | declaration of operator= | isfromtemplateinstantiation.cpp:134:29:134:33 | Outer | -| isfromtemplateinstantiation.cpp:134:29:134:29 | declaration of operator= | isfromtemplateinstantiation.cpp:134:29:134:33 | Outer | -| isfromtemplateinstantiation.cpp:135:31:135:31 | Outer::Inner::operator=(Inner &&) | isfromtemplateinstantiation.cpp:135:31:135:35 | Inner | -| isfromtemplateinstantiation.cpp:135:31:135:31 | Outer::Inner::operator=(const Inner &) | isfromtemplateinstantiation.cpp:135:31:135:35 | Inner | -| isfromtemplateinstantiation.cpp:135:31:135:31 | declaration of operator= | isfromtemplateinstantiation.cpp:135:31:135:35 | Inner | -| isfromtemplateinstantiation.cpp:135:31:135:31 | declaration of operator= | isfromtemplateinstantiation.cpp:135:31:135:35 | Inner | | isfromtemplateinstantiation.cpp:135:31:135:35 | Inner | isfromtemplateinstantiation.cpp:134:29:134:33 | Outer | | isfromtemplateinstantiation.cpp:135:31:135:35 | declaration of Inner | isfromtemplateinstantiation.cpp:134:29:134:33 | Outer | | isfromtemplateinstantiation.cpp:136:7:136:7 | definition of x | isfromtemplateinstantiation.cpp:135:31:135:35 | Inner | | isfromtemplateinstantiation.cpp:136:7:136:7 | x | isfromtemplateinstantiation.cpp:135:31:135:35 | Inner | | isfromtemplateinstantiation.cpp:137:7:137:7 | definition of y | isfromtemplateinstantiation.cpp:135:31:135:35 | Inner | | isfromtemplateinstantiation.cpp:137:7:137:7 | y | isfromtemplateinstantiation.cpp:135:31:135:35 | Inner | -| load.cpp:13:7:13:7 | basic_text_iprimitive::basic_text_iprimitive(basic_text_iprimitive &&) | load.cpp:13:7:13:27 | basic_text_iprimitive | -| load.cpp:13:7:13:7 | basic_text_iprimitive::basic_text_iprimitive(const basic_text_iprimitive &) | load.cpp:13:7:13:27 | basic_text_iprimitive | -| load.cpp:13:7:13:7 | basic_text_iprimitive::operator=(const basic_text_iprimitive &) | load.cpp:13:7:13:27 | basic_text_iprimitive | -| load.cpp:13:7:13:7 | declaration of basic_text_iprimitive | load.cpp:13:7:13:27 | basic_text_iprimitive | -| load.cpp:13:7:13:7 | declaration of basic_text_iprimitive | load.cpp:13:7:13:27 | basic_text_iprimitive | -| load.cpp:13:7:13:7 | definition of operator= | load.cpp:13:7:13:27 | basic_text_iprimitive | | load.cpp:15:14:15:15 | definition of is | load.cpp:13:7:13:27 | basic_text_iprimitive | | load.cpp:15:14:15:15 | is | load.cpp:13:7:13:27 | basic_text_iprimitive | | load.cpp:22:10:22:13 | basic_text_iprimitive::load(T &) | load.cpp:13:7:13:27 | basic_text_iprimitive | diff --git a/cpp/ql/test/library-tests/templates/isfromtemplateinstantiation/isfromuninstantiatedtemplate.expected b/cpp/ql/test/library-tests/templates/isfromtemplateinstantiation/isfromuninstantiatedtemplate.expected index 1e0f26900eb..8a78058a723 100644 --- a/cpp/ql/test/library-tests/templates/isfromtemplateinstantiation/isfromuninstantiatedtemplate.expected +++ b/cpp/ql/test/library-tests/templates/isfromtemplateinstantiation/isfromuninstantiatedtemplate.expected @@ -1,10 +1,6 @@ isFromUninstantiatedTemplate | file://:0:0:0:0 | 0 | isfromtemplateinstantiation.cpp:77:26:77:45 | AnotherTemplateClass | | file://:0:0:0:0 | (int)... | isfromtemplateinstantiation.cpp:77:26:77:45 | AnotherTemplateClass | -| file://:0:0:0:0 | (unnamed parameter 0) | isfromtemplateinstantiation.cpp:134:29:134:33 | Outer | -| file://:0:0:0:0 | (unnamed parameter 0) | isfromtemplateinstantiation.cpp:134:29:134:33 | Outer | -| file://:0:0:0:0 | declaration of 1st parameter | isfromtemplateinstantiation.cpp:134:29:134:33 | Outer | -| file://:0:0:0:0 | declaration of 1st parameter | isfromtemplateinstantiation.cpp:134:29:134:33 | Outer | | file://:0:0:0:0 | initializer for MyClassEnumConst | isfromtemplateinstantiation.cpp:77:26:77:45 | AnotherTemplateClass | | isfromtemplateinstantiation.cpp:12:24:12:46 | definition of inner_template_function | isfromtemplateinstantiation.cpp:12:24:12:46 | inner_template_function | | isfromtemplateinstantiation.cpp:12:24:12:46 | inner_template_function | isfromtemplateinstantiation.cpp:12:24:12:46 | inner_template_function | @@ -141,10 +137,6 @@ isFromUninstantiatedTemplate | isfromtemplateinstantiation.cpp:129:19:129:19 | 1 | isfromtemplateinstantiation.cpp:129:6:129:6 | f | | isfromtemplateinstantiation.cpp:134:29:134:33 | Outer | isfromtemplateinstantiation.cpp:134:29:134:33 | Outer | | isfromtemplateinstantiation.cpp:134:29:134:33 | definition of Outer | isfromtemplateinstantiation.cpp:134:29:134:33 | Outer | -| isfromtemplateinstantiation.cpp:135:31:135:31 | declaration of operator= | isfromtemplateinstantiation.cpp:134:29:134:33 | Outer | -| isfromtemplateinstantiation.cpp:135:31:135:31 | declaration of operator= | isfromtemplateinstantiation.cpp:134:29:134:33 | Outer | -| isfromtemplateinstantiation.cpp:135:31:135:31 | operator= | isfromtemplateinstantiation.cpp:134:29:134:33 | Outer | -| isfromtemplateinstantiation.cpp:135:31:135:31 | operator= | isfromtemplateinstantiation.cpp:134:29:134:33 | Outer | | isfromtemplateinstantiation.cpp:135:31:135:35 | Inner | isfromtemplateinstantiation.cpp:134:29:134:33 | Outer | | isfromtemplateinstantiation.cpp:135:31:135:35 | Inner | isfromtemplateinstantiation.cpp:135:31:135:35 | Inner | | isfromtemplateinstantiation.cpp:135:31:135:35 | Inner | isfromtemplateinstantiation.cpp:135:31:135:35 | Inner | @@ -358,11 +350,6 @@ isFromUninstantiatedTemplate | isfromtemplateinstantiation.cpp:39:2:40:2 | { ... } | I | | Stmt | | | isfromtemplateinstantiation.cpp:40:2:40:2 | return ... | | T | Stmt | | | isfromtemplateinstantiation.cpp:40:2:40:2 | return ... | I | | Stmt | | -| isfromtemplateinstantiation.cpp:44:26:44:26 | declaration of operator= | I | | DeclarationEntry | | -| isfromtemplateinstantiation.cpp:44:26:44:26 | declaration of operator= | I | | DeclarationEntry | | -| isfromtemplateinstantiation.cpp:44:26:44:26 | operator= | I | | Declaration | | -| isfromtemplateinstantiation.cpp:44:26:44:26 | operator= | I | | Declaration | | -| isfromtemplateinstantiation.cpp:44:26:44:26 | template_class | I | | Declaration | | | isfromtemplateinstantiation.cpp:44:26:44:39 | template_class | | T | Declaration | | | isfromtemplateinstantiation.cpp:44:26:44:39 | template_class | I | | Declaration | | | isfromtemplateinstantiation.cpp:46:4:46:4 | definition of t | | T | Definition | | @@ -390,20 +377,8 @@ isFromUninstantiatedTemplate | isfromtemplateinstantiation.cpp:59:5:59:8 | main | | | Declaration | | | isfromtemplateinstantiation.cpp:72:30:72:32 | 97 | | | Expr | | | isfromtemplateinstantiation.cpp:72:30:72:32 | (long)... | | | Expr | | -| isfromtemplateinstantiation.cpp:77:26:77:26 | declaration of operator= | I | | DeclarationEntry | | -| isfromtemplateinstantiation.cpp:77:26:77:26 | declaration of operator= | I | | DeclarationEntry | | -| isfromtemplateinstantiation.cpp:77:26:77:26 | declaration of operator= | I | | DeclarationEntry | | -| isfromtemplateinstantiation.cpp:77:26:77:26 | declaration of operator= | I | | DeclarationEntry | | -| isfromtemplateinstantiation.cpp:77:26:77:26 | operator= | I | | Declaration | | -| isfromtemplateinstantiation.cpp:77:26:77:26 | operator= | I | | Declaration | | -| isfromtemplateinstantiation.cpp:77:26:77:26 | operator= | I | | Declaration | | -| isfromtemplateinstantiation.cpp:77:26:77:26 | operator= | I | | Declaration | | | isfromtemplateinstantiation.cpp:77:26:77:45 | AnotherTemplateClass | | T | Declaration | | | isfromtemplateinstantiation.cpp:77:26:77:45 | AnotherTemplateClass | I | | Declaration | | -| isfromtemplateinstantiation.cpp:82:9:82:9 | declaration of operator= | I | | DeclarationEntry | | -| isfromtemplateinstantiation.cpp:82:9:82:9 | declaration of operator= | I | | DeclarationEntry | | -| isfromtemplateinstantiation.cpp:82:9:82:9 | operator= | I | | Declaration | | -| isfromtemplateinstantiation.cpp:82:9:82:9 | operator= | I | | Declaration | | | isfromtemplateinstantiation.cpp:82:9:82:21 | MyClassStruct | | T | Declaration | | | isfromtemplateinstantiation.cpp:82:9:82:21 | MyClassStruct | I | | Declaration | | | isfromtemplateinstantiation.cpp:84:6:84:10 | definition of value | | T | Definition | | @@ -451,16 +426,8 @@ isFromUninstantiatedTemplate | isfromtemplateinstantiation.cpp:128:7:128:30 | AnotherTemplateClass | | T | Declaration | | | isfromtemplateinstantiation.cpp:128:7:128:30 | AnotherTemplateClass | I | | Declaration | | | isfromtemplateinstantiation.cpp:129:6:129:6 | f | | T | Declaration | | -| isfromtemplateinstantiation.cpp:134:29:134:29 | declaration of operator= | I | | DeclarationEntry | | -| isfromtemplateinstantiation.cpp:134:29:134:29 | declaration of operator= | I | | DeclarationEntry | | -| isfromtemplateinstantiation.cpp:134:29:134:29 | operator= | I | | Declaration | | -| isfromtemplateinstantiation.cpp:134:29:134:29 | operator= | I | | Declaration | | | isfromtemplateinstantiation.cpp:134:29:134:33 | Outer | | T | Declaration | | | isfromtemplateinstantiation.cpp:134:29:134:33 | Outer | I | | Declaration | | -| isfromtemplateinstantiation.cpp:135:31:135:31 | declaration of operator= | I | T | DeclarationEntry | | -| isfromtemplateinstantiation.cpp:135:31:135:31 | declaration of operator= | I | T | DeclarationEntry | | -| isfromtemplateinstantiation.cpp:135:31:135:31 | operator= | I | T | Declaration | | -| isfromtemplateinstantiation.cpp:135:31:135:31 | operator= | I | T | Declaration | | | isfromtemplateinstantiation.cpp:135:31:135:35 | Inner | | T | Declaration | | | isfromtemplateinstantiation.cpp:135:31:135:35 | Inner | I | T | Declaration | | | isfromtemplateinstantiation.cpp:135:31:135:35 | Inner | I | T | Declaration | | @@ -488,11 +455,6 @@ isFromUninstantiatedTemplate | load.cpp:6:13:6:21 | externInt | | | Expr | Not ref | | load.cpp:7:16:7:20 | (reference to) | | | Expr | | | load.cpp:7:16:7:20 | * ... | | | Expr | | -| load.cpp:13:7:13:7 | basic_text_iprimitive | I | | Declaration | | -| load.cpp:13:7:13:7 | basic_text_iprimitive | I | | Declaration | | -| load.cpp:13:7:13:7 | declaration of basic_text_iprimitive | I | | DeclarationEntry | | -| load.cpp:13:7:13:7 | declaration of basic_text_iprimitive | I | | DeclarationEntry | | -| load.cpp:13:7:13:7 | operator= | I | | Declaration | | | load.cpp:13:7:13:27 | basic_text_iprimitive | | T | Declaration | | | load.cpp:13:7:13:27 | basic_text_iprimitive | I | | Declaration | | | load.cpp:15:14:15:15 | definition of is | | T | Definition | | diff --git a/cpp/ql/test/library-tests/types/refersTo/refersTo.expected b/cpp/ql/test/library-tests/types/refersTo/refersTo.expected index 4d040f25123..0c5644cb027 100644 --- a/cpp/ql/test/library-tests/types/refersTo/refersTo.expected +++ b/cpp/ql/test/library-tests/types/refersTo/refersTo.expected @@ -4,44 +4,8 @@ | 0 | file://:0:0:0:0 | a[10] | refersTo.cpp:2:7:2:7 | a | direct | | 0 | file://:0:0:0:0 | const a | refersTo.cpp:2:7:2:7 | a | direct | | 0 | file://:0:0:0:0 | const a & | refersTo.cpp:2:7:2:7 | a | | -| 0 | file://:0:0:0:0 | const container | refersTo.cpp:2:7:2:7 | a | | -| 0 | file://:0:0:0:0 | const container | refersTo.cpp:10:16:10:16 | T | | -| 0 | file://:0:0:0:0 | const container | refersTo.cpp:11:7:11:15 | container | | -| 0 | file://:0:0:0:0 | const container | refersTo.cpp:11:7:11:15 | container | direct | -| 0 | file://:0:0:0:0 | const container & | refersTo.cpp:2:7:2:7 | a | | -| 0 | file://:0:0:0:0 | const container & | refersTo.cpp:10:16:10:16 | T | | -| 0 | file://:0:0:0:0 | const container & | refersTo.cpp:11:7:11:15 | container | | -| 0 | file://:0:0:0:0 | const container & | refersTo.cpp:11:7:11:15 | container | | -| 0 | file://:0:0:0:0 | const container> | refersTo.cpp:2:7:2:7 | a | | -| 0 | file://:0:0:0:0 | const container> | refersTo.cpp:10:16:10:16 | T | | -| 0 | file://:0:0:0:0 | const container> | refersTo.cpp:11:7:11:15 | container | | -| 0 | file://:0:0:0:0 | const container> | refersTo.cpp:11:7:11:15 | container | | -| 0 | file://:0:0:0:0 | const container> | refersTo.cpp:11:7:11:15 | container> | direct | -| 0 | file://:0:0:0:0 | const container> & | refersTo.cpp:2:7:2:7 | a | | -| 0 | file://:0:0:0:0 | const container> & | refersTo.cpp:10:16:10:16 | T | | -| 0 | file://:0:0:0:0 | const container> & | refersTo.cpp:11:7:11:15 | container | | -| 0 | file://:0:0:0:0 | const container> & | refersTo.cpp:11:7:11:15 | container | | -| 0 | file://:0:0:0:0 | const container> & | refersTo.cpp:11:7:11:15 | container> | | | 0 | file://:0:0:0:0 | const strange | refersTo.cpp:17:7:17:13 | strange | direct | | 0 | file://:0:0:0:0 | const strange & | refersTo.cpp:17:7:17:13 | strange | | -| 0 | file://:0:0:0:0 | container & | refersTo.cpp:2:7:2:7 | a | | -| 0 | file://:0:0:0:0 | container & | refersTo.cpp:10:16:10:16 | T | | -| 0 | file://:0:0:0:0 | container & | refersTo.cpp:11:7:11:15 | container | | -| 0 | file://:0:0:0:0 | container & | refersTo.cpp:11:7:11:15 | container | direct | -| 0 | file://:0:0:0:0 | container && | refersTo.cpp:2:7:2:7 | a | | -| 0 | file://:0:0:0:0 | container && | refersTo.cpp:10:16:10:16 | T | | -| 0 | file://:0:0:0:0 | container && | refersTo.cpp:11:7:11:15 | container | | -| 0 | file://:0:0:0:0 | container && | refersTo.cpp:11:7:11:15 | container | direct | -| 0 | file://:0:0:0:0 | container> & | refersTo.cpp:2:7:2:7 | a | | -| 0 | file://:0:0:0:0 | container> & | refersTo.cpp:10:16:10:16 | T | | -| 0 | file://:0:0:0:0 | container> & | refersTo.cpp:11:7:11:15 | container | | -| 0 | file://:0:0:0:0 | container> & | refersTo.cpp:11:7:11:15 | container | | -| 0 | file://:0:0:0:0 | container> & | refersTo.cpp:11:7:11:15 | container> | direct | -| 0 | file://:0:0:0:0 | container> && | refersTo.cpp:2:7:2:7 | a | | -| 0 | file://:0:0:0:0 | container> && | refersTo.cpp:10:16:10:16 | T | | -| 0 | file://:0:0:0:0 | container> && | refersTo.cpp:11:7:11:15 | container | | -| 0 | file://:0:0:0:0 | container> && | refersTo.cpp:11:7:11:15 | container | | -| 0 | file://:0:0:0:0 | container> && | refersTo.cpp:11:7:11:15 | container> | direct | | 0 | file://:0:0:0:0 | strange & | refersTo.cpp:17:7:17:13 | strange | direct | | 0 | file://:0:0:0:0 | strange && | refersTo.cpp:17:7:17:13 | strange | direct | | 2 | refersTo.cpp:2:7:2:7 | a | refersTo.cpp:2:7:2:7 | a | | diff --git a/cpp/ql/test/successor-tests/forstmt/rangebasedforstmt/cfg.expected b/cpp/ql/test/successor-tests/forstmt/rangebasedforstmt/cfg.expected index 50b8f1b9676..c42d0affe41 100644 --- a/cpp/ql/test/successor-tests/forstmt/rangebasedforstmt/cfg.expected +++ b/cpp/ql/test/successor-tests/forstmt/rangebasedforstmt/cfg.expected @@ -16,10 +16,6 @@ | | forstmt02.cpp:3:6:3:14 | for_loop2 | 0 | 8 | file://:0:0:0:0 | file://:0:0:0:0 | file://:0:0:0:0 | initializer for (__range) | 4: declaration | | | forstmt02.cpp:3:6:3:14 | for_loop2 | 0 | 12 | file://:0:0:0:0 | file://:0:0:0:0 | file://:0:0:0:0 | initializer for (__begin) | 6: (__range) | | | forstmt02.cpp:3:6:3:14 | for_loop2 | 0 | 15 | file://:0:0:0:0 | file://:0:0:0:0 | file://:0:0:0:0 | initializer for (__end) | 6: (__end) | -| forstmt | forstmt.h:2:8:2:8 | operator= | 2 | 1 | forstmt.h:2:8:2:8 | forstmt.h:2:8:2:8 | forstmt.h:2:8:2:8 | operator= | | -| forstmt | forstmt.h:2:8:2:8 | operator= | 2 | 1 | forstmt.h:2:8:2:8 | forstmt.h:2:8:2:8 | forstmt.h:2:8:2:8 | operator= | | -| forstmt | forstmt.h:3:12:3:12 | operator= | 3 | 1 | forstmt.h:3:12:3:12 | forstmt.h:3:12:3:12 | forstmt.h:3:12:3:12 | operator= | | -| forstmt | forstmt.h:3:12:3:12 | operator= | 3 | 1 | forstmt.h:3:12:3:12 | forstmt.h:3:12:3:12 | forstmt.h:3:12:3:12 | operator= | | | forstmt | forstmt.h:4:19:4:28 | operator++ | 4 | 1 | forstmt.h:4:19:4:28 | forstmt.h:4:19:4:28 | forstmt.h:4:19:4:28 | operator++ | | | forstmt | forstmt.h:4:19:4:28 | operator++ | 4 | 1 | forstmt.h:4:19:4:28 | forstmt.h:4:19:4:28 | forstmt.h:4:19:4:28 | operator++ | | | forstmt | forstmt.h:5:12:5:20 | operator* | 5 | 1 | forstmt.h:5:12:5:20 | forstmt.h:5:12:5:20 | forstmt.h:5:12:5:20 | operator* | |