C++: BSL support in StdPairConstructor.

This commit is contained in:
Geoffrey White
2021-02-16 09:49:09 +00:00
parent d362b5aa65
commit 04f15ad43a

View File

@@ -44,7 +44,7 @@ class StdPairCopyishConstructor extends Constructor, TaintFunction {
* Additional model for `std::pair` constructors.
*/
private class StdPairConstructor extends Constructor, TaintFunction {
StdPairConstructor() { this.hasQualifiedName("std", "pair", "pair") }
StdPairConstructor() { this.getDeclaringType() instanceof StdPair }
/**
* Gets the index of a parameter to this function that is a reference to