Skip to content

Commit c595baf

Browse files
committed
C++: Remove INTERNAL from qldoc now that the Pure model implementations are private.
1 parent 7730f5d commit c595baf

File tree

1 file changed

+3
-15
lines changed
  • cpp/ql/src/semmle/code/cpp/models/implementations

1 file changed

+3
-15
lines changed

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

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,7 @@ import semmle.code.cpp.models.interfaces.Taint
33
import semmle.code.cpp.models.interfaces.Alias
44
import semmle.code.cpp.models.interfaces.SideEffect
55

6-
/**
7-
* Pure string functions.
8-
*
9-
* INTERNAL: do not use.
10-
*/
6+
/** Pure string functions. */
117
private class PureStrFunction extends AliasFunction, ArrayFunction, TaintFunction,
128
SideEffectFunction {
139
PureStrFunction() {
@@ -64,11 +60,7 @@ private class PureStrFunction extends AliasFunction, ArrayFunction, TaintFunctio
6460
}
6561
}
6662

67-
/**
68-
* String standard `strlen` function, and related functions for computing string lengths.
69-
*
70-
* INTERNAL: do not use.
71-
*/
63+
/** String standard `strlen` function, and related functions for computing string lengths. */
7264
private class StrLenFunction extends AliasFunction, ArrayFunction, SideEffectFunction {
7365
StrLenFunction() {
7466
hasGlobalOrStdName(["strlen", "strnlen", "wcslen"])
@@ -119,11 +111,7 @@ private class PureFunction extends TaintFunction, SideEffectFunction {
119111
override predicate hasOnlySpecificWriteSideEffects() { any() }
120112
}
121113

122-
/**
123-
* Pure raw-memory functions.
124-
*
125-
* INTERNAL: do not use.
126-
*/
114+
/** Pure raw-memory functions. */
127115
private class PureMemFunction extends AliasFunction, ArrayFunction, TaintFunction,
128116
SideEffectFunction {
129117
PureMemFunction() { hasGlobalOrStdName(["memchr", "memrchr", "rawmemchr", "memcmp", "memmem"]) }

0 commit comments

Comments
 (0)