We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc6ce32 commit 53c5b8fCopy full SHA for 53c5b8f
cpp/ql/lib/semmle/code/cpp/dataflow/ExternalFlow.qll
@@ -869,12 +869,13 @@ private predicate elementSpecMatchesSignature(
869
bindingset[nameWithoutArgs]
870
pragma[inline_late]
871
private Class getClassAndNameImpl(Function method, string nameWithoutArgs) {
872
- exists(string memberName | result = method.getClassAndName(memberName) |
+ exists(string memberName |
873
+ result = method.getClassAndName(memberName) and
874
nameWithoutArgs = "operator " + method.(ConversionOperator).getDestType()
- or
875
- not method instanceof ConversionOperator and
876
- memberName = nameWithoutArgs
877
)
+ or
+ result = method.getClassAndName(nameWithoutArgs) and
878
+ not method instanceof ConversionOperator
879
}
880
881
/**
0 commit comments