Skip to content

Commit cef7224

Browse files
committed
C++: Make QL-for-QL happy.
1 parent a245977 commit cef7224

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

cpp/ql/lib/semmle/code/cpp/models/implementations/StdString.qll

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,6 @@ private class StdBasicString extends ClassTemplateInstantiation {
1515
StdBasicString() { this.hasQualifiedName(["std", "bsl"], "basic_string") }
1616
}
1717

18-
/**
19-
* The `std::basic_string::iterator` declaration.
20-
*/
21-
private class StdBasicStringIterator extends Type instanceof Iterator {
22-
StdBasicStringIterator() {
23-
exists(Type unspecified |
24-
unspecified.getEnclosingElement() = any(StdBasicString s).getTemplate() and
25-
unspecified.getUnspecifiedType() = this
26-
)
27-
}
28-
}
29-
3018
/**
3119
* A `std::string` function for which taint should be propagated.
3220
*/

0 commit comments

Comments
 (0)