Skip to content

Commit 2686d98

Browse files
committed
C++: Add QLDoc.
1 parent a71ae2b commit 2686d98

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
import semmle.code.cpp.models.interfaces.Allocation
1+
/**
2+
* Provides implementation classes modelling various methods of allocation
3+
* (`malloc`, `new` etc). See `semmle.code.cpp.models.interfaces.Allocation`
4+
* for usage information.
5+
*/
6+
7+
import semmle.code.cpp.models.interfaces.Allocation
28

39
/**
410
* An allocation function (such as `malloc`) that has an argument for the size

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
import semmle.code.cpp.models.interfaces.Allocation
1+
/**
2+
* Provides implementation classes modelling various methods of deallocation
3+
* (`free`, `delete` etc). See `semmle.code.cpp.models.interfaces.Deallocation`
4+
* for usage information.
5+
*/
6+
7+
import semmle.code.cpp.models.interfaces.Allocation
28

39
/**
410
* A deallocation function such as `free`.

0 commit comments

Comments
 (0)