File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
cpp/ql/lib/semmle/code/cpp/dataflow Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -869,12 +869,13 @@ private predicate elementSpecMatchesSignature(
869869bindingset [ nameWithoutArgs]
870870pragma [ inline_late]
871871private Class getClassAndNameImpl ( Function method , string nameWithoutArgs ) {
872- exists ( string memberName | result = method .getClassAndName ( memberName ) |
872+ exists ( string memberName |
873+ result = method .getClassAndName ( memberName ) and
873874 nameWithoutArgs = "operator " + method .( ConversionOperator ) .getDestType ( )
874- or
875- not method instanceof ConversionOperator and
876- memberName = nameWithoutArgs
877875 )
876+ or
877+ result = method .getClassAndName ( nameWithoutArgs ) and
878+ not method instanceof ConversionOperator
878879}
879880
880881/**
You can’t perform that action at this time.
0 commit comments