mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
C++: Use the new predicate to remove a cartesian-like join.
This commit is contained in:
@@ -839,6 +839,7 @@ private Function getFunction(string namespace, string type, boolean subtypes, st
|
|||||||
* in `name`.
|
* in `name`.
|
||||||
*/
|
*/
|
||||||
private predicate signatureMatches(Function func, string signature, string type, string name, int i) {
|
private predicate signatureMatches(Function func, string signature, string type, string name, int i) {
|
||||||
|
func = getFunction(_, type, _, name) and
|
||||||
exists(string s |
|
exists(string s |
|
||||||
s = getSignatureParameterName(signature, type, name, i) and
|
s = getSignatureParameterName(signature, type, name, i) and
|
||||||
s = getParameterTypeName(func, i)
|
s = getParameterTypeName(func, i)
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user