Skip to content

Commit 6d45252

Browse files
committed
C++: Move StdBasicStringStream to a more logical location.
1 parent 74f05d5 commit 6d45252

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -252,13 +252,6 @@ private class StdStringSubstr extends TaintFunction {
252252
}
253253
}
254254

255-
/**
256-
* The `std::basic_stringstream` template class instantiations.
257-
*/
258-
private class StdBasicStringStream extends ClassTemplateInstantiation {
259-
StdBasicStringStream() { this.hasQualifiedName(["std", "bsl"], "basic_stringstream") }
260-
}
261-
262255
/**
263256
* The `std::string` functions `at` and `operator[]`.
264257
*/
@@ -563,6 +556,13 @@ private class StdOStreamOutNonMember extends DataFlowFunction, TaintFunction {
563556
}
564557
}
565558

559+
/**
560+
* The `std::basic_stringstream` template class instantiations.
561+
*/
562+
private class StdBasicStringStream extends ClassTemplateInstantiation {
563+
StdBasicStringStream() { this.hasQualifiedName(["std", "bsl"], "basic_stringstream") }
564+
}
565+
566566
/**
567567
* Additional model for `std::stringstream` constructors that take a string
568568
* input parameter.

0 commit comments

Comments
 (0)