We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
basic_string::iterator
1 parent 176405c commit 612624dCopy full SHA for 612624d
cpp/ql/lib/semmle/code/cpp/models/implementations/StdString.qll
@@ -15,6 +15,15 @@ private class StdBasicString extends ClassTemplateInstantiation {
15
StdBasicString() { this.hasQualifiedName(["std", "bsl"], "basic_string") }
16
}
17
18
+/**
19
+ * The `std::basic_string::iterator` declaration.
20
+ */
21
+private class StdBasicStringIterator extends Iterator, Type {
22
+ StdBasicStringIterator() {
23
+ this.getEnclosingElement() instanceof StdBasicString and this.hasName("iterator")
24
+ }
25
+}
26
+
27
/**
28
* A `std::string` function for which taint should be propagated.
29
*/
0 commit comments