Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0242874 commit 3c0af49Copy full SHA for 3c0af49
2 files changed
cpp/ql/lib/semmle/code/cpp/dataflow/ExternalFlow.qll
@@ -437,13 +437,13 @@ private predicate elementSpec(
437
private predicate isClassConstructedFrom(Class c, Class templateClass) {
438
c.isConstructedFrom(templateClass)
439
or
440
- not any(Class c_).isConstructedFrom(templateClass) and c = templateClass
+ not c.isConstructedFrom(_) and c = templateClass
441
}
442
443
private predicate isFunctionConstructedFrom(Function f, Function templateFunc) {
444
f.isConstructedFrom(templateFunc)
445
446
- not any(Function f_).isConstructedFrom(templateFunc) and f = templateFunc
+ not f.isConstructedFrom(_) and f = templateFunc
447
448
449
/** Gets the fully templated version of `f`. */
0 commit comments