File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
cpp/ql/src/semmle/code/cpp/commons Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -64,28 +64,28 @@ class Ptrdiff_t extends Type {
6464}
6565
6666/**
67- * A common base type for describing the C/C++ fixed-width numeric types
67+ * A C/C++ fixed-width numeric type, such as `int8_t`.
6868 */
6969abstract class FixedWidthIntegralType extends UserType {
7070 FixedWidthIntegralType ( ) { this .getUnderlyingType ( ) instanceof IntegralType }
7171}
7272
7373/**
74- * A common base type for describing the C/C++ minimum-width numeric types .
74+ * A C/C++ minimum-width numeric type, such as `int_least8_t` or `uint_fast16_t` .
7575 */
7676abstract class MinimumWidthIntegralType extends UserType {
7777 MinimumWidthIntegralType ( ) { this .getUnderlyingType ( ) instanceof IntegralType }
7878}
7979
8080/**
81- * A common base type for describing the C/C++ maximum-width numeric types .
81+ * A C/C++ maximum-width numeric type, either `intmax_t` or `uintmax_t` .
8282 */
8383abstract class MaximumWidthIntegralType extends UserType {
8484 MaximumWidthIntegralType ( ) { this .getUnderlyingType ( ) instanceof IntegralType }
8585}
8686
8787/**
88- * A common base type for describing enum types that are based on fixed-width types.
88+ * An enum type based on a fixed-width integer type. For instance, ` enum e: uint8_t = { a, b };`
8989 */
9090class FixedWidthEnumType extends UserType {
9191 FixedWidthEnumType ( ) { this .( Enum ) .getExplicitUnderlyingType ( ) instanceof FixedWidthIntegralType }
You can’t perform that action at this time.
0 commit comments