We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa83b3d commit 3089c6fCopy full SHA for 3089c6f
cpp/common/src/codingstandards/cpp/DynamicMemory.qll
@@ -16,3 +16,11 @@ class AllocateOrDeallocateStdlibMemberFunction extends MemberFunction {
16
this.getNamespace().getParentNamespace*() instanceof StdNamespace
17
}
18
19
+
20
+class StdAllocator extends Class {
21
+ StdAllocator() { this.hasGlobalOrStdName("allocator") }
22
+}
23
24
+class StdPmrMemoryResource extends Class {
25
+ StdPmrMemoryResource() { this.hasQualifiedName("std::pmr", "memory_resource") }
26
0 commit comments