File tree Expand file tree Collapse file tree
cpp/ql/lib/semmle/code/cpp/dataflow Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -406,7 +406,7 @@ private Element interpretElement0(
406406 // Member functions
407407 exists ( Class namedClass , Class classWithMethod , Function method |
408408 classWithMethod = method .getClassAndName ( name ) and
409- classWithMethod .getNamespace ( ) .getQualifiedName ( ) = namespace and
409+ namedClass .getNamespace ( ) .getQualifiedName ( ) = namespace and
410410 namedClass .getName ( ) = type and
411411 matchesSignature ( method , signature ) and
412412 result = method
@@ -425,7 +425,7 @@ private Element interpretElement0(
425425 exists ( Class namedClass , Class classWithMember , MemberVariable member |
426426 member .getName ( ) = name and
427427 member = classWithMember .getAMember ( ) and
428- classWithMember .getNamespace ( ) .getQualifiedName ( ) = namespace and
428+ namedClass .getNamespace ( ) .getQualifiedName ( ) = namespace and
429429 namedClass .getName ( ) = type and
430430 result = member
431431 |
You can’t perform that action at this time.
0 commit comments