Skip to content

Commit 354f21f

Browse files
committed
C++: BSL support.
1 parent 21b2999 commit 354f21f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import semmle.code.cpp.models.interfaces.Taint
88
* An instantiation of `std::pair<T1, T2>`.
99
*/
1010
class StdPair extends ClassTemplateInstantiation {
11-
StdPair() { this.hasQualifiedName("std", "pair") }
11+
StdPair() { this.hasQualifiedName(["std", "bsl"], "pair") }
1212
}
1313

1414
/**

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import semmle.code.cpp.models.interfaces.Iterator
99
* An instantiation of `std::set` or `std::unordered_set`.
1010
*/
1111
class StdSet extends ClassTemplateInstantiation {
12-
StdSet() { this.hasQualifiedName("std", ["set", "unordered_set"]) }
12+
StdSet() { this.hasQualifiedName(["std", "bsl"], ["set", "unordered_set"]) }
1313
}
1414

1515
/**

0 commit comments

Comments
 (0)