mirror of
https://github.com/github/codeql.git
synced 2026-05-01 19:55:15 +02:00
C++: BSL support in StdPairConstructor.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user