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(
869
869
bindingset [ nameWithoutArgs]
870
870
pragma [ inline_late]
871
871
private Class getClassAndNameImpl ( Function method , string nameWithoutArgs ) {
872
- exists ( string memberName | result = method .getClassAndName ( memberName ) |
872
+ exists ( string memberName |
873
+ result = method .getClassAndName ( memberName ) and
873
874
nameWithoutArgs = "operator " + method .( ConversionOperator ) .getDestType ( )
874
- or
875
- not method instanceof ConversionOperator and
876
- memberName = nameWithoutArgs
877
875
)
876
+ or
877
+ result = method .getClassAndName ( nameWithoutArgs ) and
878
+ not method instanceof ConversionOperator
878
879
}
879
880
880
881
/**
You can’t perform that action at this time.
0 commit comments