Update cpp/ql/src/semmle/code/cpp/commons/Alloc.qll

Co-Authored-By: Jonas Jensen <jbj@github.com>
This commit is contained in:
Geoffrey White
2019-11-28 17:30:36 +00:00
committed by GitHub
parent aae9f88413
commit 3477c4a8fb

View File

@@ -5,7 +5,7 @@ import semmle.code.cpp.models.interfaces.Deallocation
/** /**
* A library routine that allocates memory. * A library routine that allocates memory.
* *
* DEPRECATED: Use the `MallocFunction` class instead of this predicate. * DEPRECATED: Use the `AllocationFunction` class instead of this predicate.
*/ */
deprecated predicate allocationFunction(Function f) { f instanceof AllocationFunction } deprecated predicate allocationFunction(Function f) { f instanceof AllocationFunction }