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

Skip to content

Commit c10f41b

Browse files
committed
C++: Use getClassAndName.
1 parent 4c1f433 commit c10f41b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

cpp/ql/lib/semmle/code/cpp/dataflow/ExternalFlow.qll

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -405,8 +405,7 @@ private Element interpretElement0(
405405
or
406406
// Member functions
407407
exists(Class namedClass, Class classWithMethod, Function method |
408-
method.getName() = name and
409-
method = classWithMethod.getAMember() and
408+
classWithMethod = method.getClassAndName(name) and
410409
namedClass.getName() = type and
411410
matchesSignature(method, signature) and
412411
result = method

0 commit comments

Comments
 (0)