Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1b67f47

Browse files
author
Matthew Gretton-Dann
committed
C++: Update with improved location information
EDG 6.0 gives better location in some circumstances changing the results of these tests for the better.
1 parent cec6646 commit 1b67f47

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
| test.cpp:9:12:9:35 | call to MyInt |
1+
| test.cpp:9:5:9:36 | call to MyInt |
22
| test.cpp:26:18:26:23 | call to MyInt |
33
| test.cpp:42:15:42:15 | call to operator+ |
44
| test.cpp:43:5:43:5 | call to operator+= |

cpp/ql/test/query-tests/definitions/definitions.expected

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
| class.cpp:91:27:91:29 | num | class.cpp:87:17:87:19 | num | V |
4343
| class.cpp:100:24:100:34 | type mention | class.cpp:94:18:94:28 | string_type | T |
4444
| class.cpp:105:1:105:15 | type mention | class.cpp:97:7:97:21 | StringContainer | T |
45-
| class.cpp:106:9:106:23 | type mention | class.cpp:100:2:100:16 | StringContainer | M |
45+
| class.cpp:106:9:106:23 | type mention | class.cpp:97:7:97:21 | StringContainer | T |
4646
| class.cpp:106:25:106:27 | STR(x) | class.cpp:95:1:95:18 | #define STR(x) L ## x | X |
4747
| class.cpp:117:2:117:29 | type mention | class.cpp:109:7:109:34 | myClassWithConstructorParams | T |
4848
| class.cpp:117:37:117:37 | a | class.cpp:115:27:115:27 | a | V |

0 commit comments

Comments
 (0)